To take full advantage of all features you need to login or register. Registration is completely free and takes only a few seconds.

PHP 5.4.0 released

The PHP development team is proud to announce the immediate availability of PHP 5.4.0. This release is a major leap forward in the 5.x series, and includes a large number of new features and bug fixes.

The key features of PHP 5.4.0 include:

New language syntax including Traits, shortened array syntax and moreImproved performance and reduced memory consumptionSupport for multibyte languages now available in all builds of PHP at the flip of a runtime switchBuilt-in webserver in CLI mode to simplify development workflows and testingCleaner code base thanks to the removal of multiple deprecated language featuresMany more improvements and fixesChanges that affect compatibility:

ext/sqlite (ext/sqlite3 and ext/pdo_sqlite are not affected)PHP 5.4 will be the last series to support Windows XP and Windows 2003. We will not provide binary packages for these Windows versions after PHP 5.4.

For users upgrading from PHP 5.3 there is a migration guide available here, detailing the changes between PHP 5.3 and PHP 5.4.0.