felipe Mon Jun 22 11:37:31 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: - Fixed bug #48641 (tmpfile() uses old parameter parsing) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.35&r2=1.409.2.6.2.28.2.36&diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.409.2.6.2.28.2.35 php-src/ext/standard/file.c:1.409.2.6.2.28.2.36 --- php-src/ext/standard/file.c:1.409.2.6.2.28.2.35 Sun May 24 16:01:47 2009 +++ php-src/ext/standard/file.c Mon Jun 22 11:37:30 2009 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.409.2.6.2.28.2.35 2009/05/24 16:01:47 iliaa Exp $ */ +/* $Id: file.c,v 1.409.2.6.2.28.2.36 2009/06/22 11:37:30 felipe Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -869,8 +869,8 @@ { php_stream *stream; - if (ZEND_NUM_ARGS() != 0) { - WRONG_PARAM_COUNT; + if (zend_parse_parameters_none() == FAILURE) { + return; } stream = php_stream_fopen_tmpfile();
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php