Re:Benchmarks of PHP 7.2 Beta: PHP Is Still Getting Faster
by joshribakoff on Sunday July 30, 2017 @03:32AM
(#14884878)
My biggest complaint is that it's associative arrays are different than objects. So serializing and unserializing json can become a nightmare. This is easily circumvented by being careful to be consistent. But big libraries like symfony will change your json around and break things. In node it's just not an issue
[ Parent
| on HN ]
Re:Benchmarks of PHP 7.2 Beta: PHP Is Still Getting Faster
by wolco on Sunday July 30, 2017 @11:27AM
(#14886319)
When you decode json there is an option to set a flag that will allow you to use arrays or objects.
Re:Benchmarks of PHP 7.2 Beta: PHP Is Still Getting Faster
by joshribakoff on Sunday July 30, 2017 @01:43PM
(#14886989)
Yes I am well aware but the rest of the community didn't get the memo
https://github.com/FriendsOfSymfony/FOSRestBundle/issues/980