Some of the key new features include: traits, a shortened array syntax, a built-in webserver for testing purposes and more. PHP 5.4.0 significantly improves performance, memory footprint and fixes over 100 bugs.
Traits look very cool and the shortened array syntax is a very welcomed language feature. The built in web server is going to be quite handy too, especially for small hacks or perhaps even a small daemon that speaks HTTP.
I will be writing more about these features in the future as well as my experiences upgrading. For now, get yourself the source and happy hacking!
I’ve got just shy of 100 vendor repositories that I pull from for my side projects and client work. Updating them all has become quite a bother so I wrote this little guy to save me some time.
It’s certainly not perfect, and sometimes falls over, but this does the trick. This handles both Git and SVN repositories, but I’m sure with a few extra lines you can make it work for whatever SCM you prefer to use.
This is an interesting approach to JavaScript performance that analyzes the DOM to report potential optimization points.
It’s fully open-source, hosted on Github, and available as a bookmarklet so it’s always updated. Be sure to drop them a line and thank them for building such an excellent tool.