summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2006-11-09 11:44:13 +0000
committerHannes Magnusson <bjori@php.net>2006-11-09 11:44:13 +0000
commit4989f0d89923090111d4591e58a2a4e00b4db1e3 (patch)
treecdaee0e5ca963270bd7d9c28e929874a11af03cc
parent87b412dc3a6c19d008eb7b68cdb6cd6380e67b91 (diff)
downloadphp-git-4989f0d89923090111d4591e58a2a4e00b4db1e3.tar.gz
New features/errormsgs/return values in ext/zip
New optional parameter in ext/ming
-rw-r--r--README.UPDATE_5_229
1 files changed, 29 insertions, 0 deletions
diff --git a/README.UPDATE_5_2 b/README.UPDATE_5_2
index fb0415492f..4956592c64 100644
--- a/README.UPDATE_5_2
+++ b/README.UPDATE_5_2
@@ -182,6 +182,12 @@ In the PHP core
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 @@ $obj->fgetcsv(",", "foo");
?>
+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 @@ In ext/spl
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 @@ In ext/mbstring
===============
- 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)