New in PHP 5.4:
1. Traits: These are like Java Interface but carries method definition too.
2. $a=[1,2,3] instead of $a=array(1,2,3);
3. foo()[0], (new Foo)->bar() and Class::{expr}() are now OK.
4. File upload progress monitor through $_SESSION
and, 5. An embedded web server in php-cli.
Only they are 15 years late. These should have there since v.3