Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pierre's Blog:
Zip, complete rewrite and write mode added
Mar 06, 2006 @ 13:37:35

Pierre has posted about an update to his zip extension he created and added to the pecl repository. This version is a complete rewrite, and uses libzip instead of zzlib.

It is 100% backward compatible, you can use your old code transparently.

For PHP 5.1.x and up: Add create, modify and write support, from files or strings, stream support (read only), OO interface

For PHP 4.x and 5.0.x: Better zip read support, broken zip files with zzlib may now work smoothly.

For the old APIs, you can read the good old PHP manual. There is no documentation yet, but the examples contain all new features. It is the very first releases, consider it as alpha.

He reminds developers that feedback is always welcome, and that it can be downloaded directly from the pecl site.

tagged: zip extension complete rewrite streams oo interface zip extension complete rewrite streams oo interface

Link:


Trending Topics: