]> granicus.if.org Git - php/commitdiff
- Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference)
authorJani Taskinen <jani@php.net>
Thu, 23 Jul 2009 14:42:46 +0000 (14:42 +0000)
committerJani Taskinen <jani@php.net>
Thu, 23 Jul 2009 14:42:46 +0000 (14:42 +0000)
NEWS
ext/spl/spl_directory.c

diff --git a/NEWS b/NEWS
index cfb9f25833ce0b8e84171a6bd3cbb236dc47107b..fa5989167217c852c9b57fa0291e38c341fdf239 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ PHP                                                                        NEWS
 - Fixed regression in cURL extension that prevented flush of data to output
   defined as a file handle. (Ilia)
 
+- Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference).
+  (Jani)
 - Fixed bug #48980 (Crash when compiling with pdo_firebird). (Felipe)
 - Fixed bug #48962 (cURL does not upload files with specified filename).
   (Ilia)
index 5ef77a43cd20504e48f5e79f17b1d871d06e2cd4..8370c09ba63674e6c86e25c1d5003f0eb1328d04 100755 (executable)
@@ -2264,8 +2264,9 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_file_object_fgetss, 0, 0, 0)
 ZEND_END_ARG_INFO()
 
 static
-ZEND_BEGIN_ARG_INFO_EX(arginfo_file_object_fscanf, 0, 0, 1) 
+ZEND_BEGIN_ARG_INFO_EX(arginfo_file_object_fscanf, 1, 0, 1)
        ZEND_ARG_INFO(0, format)
+       ZEND_ARG_INFO(1, ...)
 ZEND_END_ARG_INFO()
 
 static