zlacker

[return to "PHP 8.2"]
1. user39+j7[view] [source] 2022-12-08 13:16:18
>>TimWol+(OP)
The worst part about PHP is constantly hearing from its detractors, who are often people who haven’t used the language in many years. Haystack needle order, $, fractal of bad design, it just gets old.

The language isn’t perfect but I love working with it, these 8.1 and 8.2 improvements have really made it sweet.

My biggest gripe at the moment is the (very old) behavior of e.g. preg_match() and sort(). You’ve got a small handful of these common functions that operate on their input by reference/in place which is gross. A new version of these would be welcome.

◧◩
2. sebste+8c[view] [source] 2022-12-08 13:47:28
>>user39+j7
There's less and less wrong with it as we go along, but seriously there's still so much crap... You could list so many other than preg_match

>sleep(int $seconds)

>returns zero on success.

>If the call was interrupted by a signal, sleep() returns a non-zero value. On Windows, this value will always be 192. On other platforms, the return value will be the number of seconds left to sleep.

I've used it for 2 years 2 years ago and I'm not at all interested in starting a project with it again

◧◩◪
3. xxpor+Dp[view] [source] 2022-12-08 15:16:10
>>sebste+8c
Wait, what's wrong with that?
◧◩◪◨
4. xigoi+v91[view] [source] 2022-12-08 18:49:08
>>xxpor+Dp
Why 192? Why only on Windows?
[go to top]