In association with heise online

02 March 2012, 10:26

PHP 5.4.0 brings new features

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

PHP logo Version 5.4.0 of the open source PHP scripting language has been released. The PHP developers say that the update is "a major leap forward in the 5.x series", as it "significantly improves performance" and reduces memory consumption, while also adding a number of new features.

New language features introduced in PHP 5.4.0 include Traits for better code reuse, a shortened array syntax and a format for expressing binary numbers. A built-in web server is now provided, accessible from the command line, for testing and debugging purposes; use in production environments is not advised.

Other changes include improvements to parse error messages and incompatible arguments warnings, the ability to track the upload progress of files in the session extension and fixes for more than 100 bugs. The developers also note that the 5.4 release will be the last to support Windows XP and 2003, and that multiple deprecated language features have been removed.

A full list of new features and changes can be found in the official release announcement and the change log; a migration guide is provided. PHP 5.4.0 is available to download as source or as Windows binaries from the project's site. PHP is distributed under the PHP License v3.01.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit