Ask questions about frameworks, try your hand at php golf and strike gold or simply show off your latest work.
376 followers 30 articles/week
Is there a reason why needle-haystack argument order in builtin PHP functions are inconsistent?

I used to work with PHP a few years ago and i was slightly confused with needle/haystack order. In some builtin functions the needle will come before the haystack, sometimes the haystack comes before the needle. What happened? submitted by /u/KickassMidget [link] [comments]

Thu May 16, 2024 15:04
Is it a good idea to use pipes to implement concurrency?

Basically this. I know stock PHP does not implement SMP, but I wanted to ask if this could be a good “workaround,” or if there are any better alternatives. Thanks! submitted by /u/anth3nna [link] [comments]

Thu May 16, 2024 15:04
Honest Question: Why did PHP remove dynamic properties in 8.x?

I understand PHP has had many criticisms in the past but I'm not sure the existence of dynamic properties of instantiated objects was ever one of them. In fact, dynamic properties are pretty much the hallmark of most interpreted or dynamic programming languages. Python allows it all the time and so do many others like Ruby, Perl, etc. I don't know what...

Thu May 16, 2024 09:04
Whats the point in routing?

Whats actually the point in it? I have the code execute on the same page its calling from. I've never had to use it before can anyone explain submitted by /u/lucidity123466 [link] [comments]

Thu May 16, 2024 03:05
PHP like Go-lang?

I've been working for a long time on a framework for async PHP, inspired by the Go language. It's very fast and can easily be used in existing projects (the async::run()) function creates a context which behaves like any other PHP function and inside that context you can use coroutines. ```php <?php require(DIR . '/../vendor/autoload.php'); /** *...

Wed May 15, 2024 12:04
I have made a timer with MySQL JavaScript Ajax and PHP, but I am having some problems with it

I have a website where I want to calculate how long a user spends time on my website and display it on the screen. I have built a code which starts the time as soon as the person logs in (I have not made a separate button, the timer starts directly when the user logs in) and stops when the person clicks logout and exits. I have used PHP, JavaScript...

Wed May 15, 2024 12:04

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account