From the PHP website:
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, which includes a large number of new features and bug fixes.
Some of the key new features include: [traits, [url=http://docs.php.net/manual/en/language.types.array.php]a shortened array syntax, [url=http://php.net/manual/en/features.commandline.webserver.php]a built-in webserver for testing purposes](http://us3.php.net/traits) and more. PHP 5.4.0 significantly improves performance, memory footprint and fixes over 100 bugs.
For users upgrading from PHP 5.3 there is a migration guide available here, detailing the changes between those releases and PHP 5.4.0.
Further details about the PHP 5.4.0 release can be found in the [release announcement, and the full list of changes are available in the [url=http://php.net/ChangeLog-5.php]ChangeLog](http://us.php.net/migration54).
Traits are the beez neez out of 9!.... And so comes the end of development stacks soon enough such as wamp, mamp, lamp, xamp....
Closures can now be called in the context of an object!!! – finally.
Yes this is great news indeed.
I just want to say that the migration guide, while available, is not 100% finished yet. If you spot any problems, please do file a bug report and we'll get right on it.
As for the release, yay! It took a while to get out of the door, but I for one am super-happy that the new features and fixes are available to all. (:
What's replacing them? Do you mean the built-in webserver?
as the soon enough part is the key there as if you look at what the stacks used for php development they offer 3 key things needed but not required to develop php first php next apache witch is what the new server simulates as i have not talked to my source about the in's and out's yet but i couldn't imagine apache being included into php but simulated so with now the language and a server the only thing missing from php that other development stacks offer is the RDBMS.
This topic is now closed. New replies are no longer allowed.