PHP 5.4 was released!
PHP 5.4 was released!
Even though is already yesterday news… literally, yesterday 1 March was released.
The complete list of changes is available on php.net.
I’m sorry that we still don’t have scalar type hinting in this version. The only change to type hinting was the “callable” word was added, about which I’ve talked in the closure in PHP 5.4 blog.
Another interesting thing is that this time register_globals and magic_quotes_gpc were really removed, so the old PHP 4 apps don’t get to be compatible anymore with the help of a couple of flags in php.ini.
Also the hex2bin() function was added, of course is not that important, but is interesting that the bin2hex() function existed since PHP 4. 🙂