From: Jani Taskinen Date: Thu, 23 Jul 2009 14:42:46 +0000 (+0000) Subject: - Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference) X-Git-Tag: php-5.4.0alpha1~191^2~3014 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8130a1d3541f37b13deb8766dbffd8e108780836;p=php - Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference) --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 048bd84712..2a54317634 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -2696,8 +2696,9 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_file_object_fgetss, 0, 0, 0) ZEND_ARG_INFO(0, allowable_tags) ZEND_END_ARG_INFO() -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() ZEND_BEGIN_ARG_INFO_EX(arginfo_file_object_fwrite, 0, 0, 1)