zlacker

[return to "PHP 8.2"]
1. jesusp+Mp[view] [source] 2022-12-08 15:16:47
>>TimWol+(OP)
People still use PHP? Let this horrible language die already. It's banned internally at AMZN for a reason
◧◩
2. effica+6r[view] [source] 2022-12-08 15:23:26
>>jesusp+Mp
PHP has been pretty good for a long time now. PHP 7 was released in 2015. It's a vibrant and living language that now has a very nice type system and a super-fast JIT. Most of what people hate about PHP is from PHP 4, even 5.6 was pretty solid. Let this horrible meme that PHP sucks die.
◧◩◪
3. jesusp+nu[view] [source] 2022-12-08 15:39:11
>>effica+6r
It's not a meme, it's backed by empirical data. It's banned for security reasons internally at AMZN, not without due diligence
◧◩◪◨
4. effica+ND[view] [source] 2022-12-08 16:15:47
>>jesusp+nu
again, there were definitely huge problems with PHP prior to 5.6 and 7, but the flaws in the language that made it a security nightmare have been gone for about 10 years (at least). Now the main problem is that it's still used as a dynamically typed language with some type coercion and juggling that can lead to unexpected behavior.

But you can use strict_types! With strict types, PHP 8+ is a very nice language.

[go to top]