What's new in PHP V5.3, Part 4, Creating and using Phar archives

From the developerWorks archives

John Mertic

|

PHP V5.3 is scheduled to release soon. This "What's new in PHP V5.3" series covers new and exciting features in this release. Part 1 looks at the changes made to the object-oriented programming and object handling in PHP V5.3, Part 2 looks at lambda functions and closures. And in Part 3, we look at namespaces, which is one of the most anticipated and the most debated feature in this release of PHP. Here in Part 4, we take a close look at Phar, which is an archive format that can be used within PHP. It can be used to not only archive files but also to deliver and run an entire PHP application from a single file. It can be used with PHP as an extension from the PECL repository, but will be an official extension of PHP in the upcoming V5.3 version.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

View PDF file