zlacker

[return to "PHP 8.2"]
1. tiffan+y7[view] [source] 2022-12-08 13:18:28
>>TimWol+(OP)
What’s a feature that PHP is missing, that if it had it - would garner it more respect?

Note: I think PHP is way under appreciated.

◧◩
2. sebste+Ic[view] [source] 2022-12-08 13:55:38
>>tiffan+y7
Type hinting for arrays and all data structures

They'd gather back my respect when they get rid of all the moronic behavior they have in the functions of their global namespace

* Like sleep that returns 192 on windows but not on linux when you interrupt it

* hash_hmac that if you pass array to $data, php will generate a Warning, return a NULL and continue, I'll let you imagine how bad this is in the context of hmacs when null gets typecast to 0 later on

* etc

[go to top]