bjori Thu Nov 9 11:44:13 2006 UTC Modified files: (Branch: PHP_5_2) /php-src README.UPDATE_5_2 Log: New features/errormsgs/return values in ext/zip New optional parameter in ext/ming http://cvs.php.net/viewvc.cgi/php-src/README.UPDATE_5_2?r1=1.1.2.32&r2=1.1.2.33&diff_format=u Index: php-src/README.UPDATE_5_2 diff -u php-src/README.UPDATE_5_2:1.1.2.32 php-src/README.UPDATE_5_2:1.1.2.33 --- php-src/README.UPDATE_5_2:1.1.2.32 Mon Nov 6 18:21:25 2006 +++ php-src/README.UPDATE_5_2 Thu Nov 9 11:44:13 2006 @@ -182,6 +182,12 @@ getrusage() will return NULL when passed incompatible arguments # See http://cvs.php.net/viewvc.cgi/php-src/ext/standard/microtime.c?r1=1.57&r2=1.58 && ?r1=1.53.2.2&r2=1.53.2.2.2.1 +In ext/zip +========== +ZipArchive::setCommentName() now returns TRUE on success +ZipArchive::setCommentIndex() now return TRUE on success +#See http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.15&r2=1.1.2.16 + ================== NEW ERROR MESSAGES ================== @@ -399,6 +405,19 @@ ?> +In the Zip extension +==================== +<?php +$obj = new ZipArchive(); +$obj->open("archive.zip"); +$obj->setCommentName("", "comment");' +/* Notice: ZipArchive::setCommentName(): Empty string as entry name in filename on line n */ + +$obj->getCommentName(""); +/* Notice: ZipArchive::getCommentName(): Empty string as entry name in filename on line n */ +#See http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.15&r2=1.1.2.16 +?> + ============ NEW FEATURES @@ -723,6 +742,12 @@ boolean XMLReader::setSchema(string filename) Use W3C XSD schema to validate the document as it is processed. Activation is only possible before the first Read() +In ext/zip +========== + ZipArchive: + bool createEmptyDir(string dirname) + Creates an empty directory in the archive +#See http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.15&r2=1.1.2.16 New class constants =================== @@ -850,6 +875,10 @@ =============== - int mb_strrpos(string haystack, string needle [, int offset [, string encoding]]) (offset) +In ext/ming + - int swfmovie::streamMP3(mixed file [, float skip]) (skip) +#See http://cvs.php.net/viewvc.cgi/php-src/ext/ming/ming.c?r1=1.79.2.4.2.3&r2=1.79.2.4.2.4 + In ext/openssl ============== - int openssl_verify(string data, string signature, mixed key [, int signature_algo]) (signature_algo)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php