PHP 5.2 ajaxified
PHP 5.2.0 was released a few weeks ago. Apart from the usual bigger, better badder there are two small additions that I think are worth mentioning.
- A new extension for JSON decoding and encoding enabled by default.
- Hooks for tracking file uploads.
These features aren’t competing for the heavy weight title in the release notes. Still, having these implemented in PHP makes it a lot easier to develop modern, more responsive, web based applications. JSON encoding have never been very hard but it makes sense to have native support in PHP. I have not tested the file uploads yet but being able to correctly display progress bars when uploading large files is definitely important when working with web applications.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
