Live data from Hacker News

PHP 8.5 alpha 1 is available for download

php.net

11–19 of 19 posts

Re: PHP 8.5 alpha 1 is available for download

#11

8.5 notably includes the new pipe operator: https://stitcher.io/blog/pipe-operator-in-php-85

Based on the examples given in the blog post, this appears to be a massive step backwards for PHP. The language has been making an effort to clean itself up for years. The author claims that the temporary variable solution "feels icky". If we ultimately care about readability and performance, temporary variables seem ideal even with this change in the language. Modern compilers look for things like temporary variables when performing optimizations. PHP's compiler probably already does this, and if it doesn't, adding support for that would make more sense than adding some new syntax.

Re: PHP 8.5 alpha 1 is available for download

#13

Still no unicode support? What in the hell are the devs doing? Looks like they still force that nasty mb_real_uppercase and pals on you.

Maybe waiting for a major version, perhaps 9.0… hopefully.

Not that I have any skin in that game anymore; I moved my stack from PHP years ago.

Re: PHP 8.5 alpha 1 is available for download

#16

Still no unicode support? What in the hell are the devs doing? Looks like they still force that nasty mb_real_uppercase and pals on you.

And yet millions of websites built on PHP happily serve unicode content to billions of users. Strange.

Re: PHP 8.5 alpha 1 is available for download

#17

8.5 notably includes the new pipe operator: https://stitcher.io/blog/pipe-operator-in-php-85

I'm not complaining, and I respect the PHP team for continuing to try to improve the language, but I think that we might have passed the point where new additions to the language actually make it worse.

Re: PHP 8.5 alpha 1 is available for download

#18

Still no unicode support? What in the hell are the devs doing? Looks like they still force that nasty mb_real_uppercase and pals on you.

And yet millions of websites built on PHP happily serve unicode content to billions of users. Strange.

I have seen many cases of weird casing on web pages (not critical, but usually embarrasing), not knowing the backend tech, but i always hard bet its php.

Re: PHP 8.5 alpha 1 is available for download

#19

Earlier quoted context omitted.

And yet millions of websites built on PHP happily serve unicode content to billions of users. Strange.

I have seen many cases of weird casing on web pages (not critical, but usually embarrasing), not knowing the backend tech, but i always hard bet its php.

I do think it's an issue, but a much, much smaller one than is immediately obvious. Most people aren't doing weird text processing on the fly in PHP.
Post reply on HN