PHP 5.4 has finally been released as a stable version. It will no doubt take a while for shared hosting to upgrade, but for those of you under control of your own hosting environment can enjoy it now.
Say hello to traits, a short array syntax, $this for closures, and a built-in web server for testing.
Say goodbye to safe mode, magic quotes, register_globals, and import_request_variables. Wonderful news!
Learn more: