I recently updated my server to 5.3.10 and now PHP 5.4.0 has been released! The PHP said that the release is a major leap forward in the 5.x series, which includes a huge number of new features and bug fixes.
They key new features of PHP 5.4 are traits, DTrace support, a shortened array syntax, a built-in webserver for testing purposes and a whole lot more, check it out here. You can download the latest stable version here if you want to try it out. This PHP version greatly improves performance and memory footprint. There were also more than 100 bugs fixed in this version.
Most improvements in PHP 5.3.x have no impact on existing code. However, there are a few incompatibilities and new features that should be considered, and code should be tested before switching PHP versions in production environments, specially your PHP web hosts. Right now, it’s still not available in the EasyApache upgrade manager inside WHM, so you need to manually update it if you’re really dying to try out PHP 5.4.
If you’re upgrading from PHP 5.3.x to 5.4, here are some backward incompatible changes.
Further details about the PHP 5.4.0 release can be found in the release announcement over at PHP.net The full list of changes are available in the ChangeLog here.
That’s all for today’s update. Head on to PHP.net now to read more about PHP 5.4. It was released 4 days ago, so technically my news is not that new, I just want to share it for those who didn’t know about it yet.
Leave a Reply