diff options
author | Sean Finney <seanius@debian.org> | 2009-06-30 19:11:48 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2009-06-30 19:11:48 +0200 |
commit | d3a8757891280dc6650ca7eead67830c794b0e7b (patch) | |
tree | fd17e4142019fe7af4eeb7a5c9e0bdade5388418 /ext/standard/file.c | |
parent | 84f4ca9b07fe5b73d840258f4aa7c1eb534c4253 (diff) | |
download | php-d3a8757891280dc6650ca7eead67830c794b0e7b.tar.gz |
Imported Upstream version 5.3.0upstream/5.3.0
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r-- | ext/standard/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 0b1f163a6..22a1b1e38 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -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_NAMED_FUNCTION(php_if_tmpfile) { php_stream *stream; - if (ZEND_NUM_ARGS() != 0) { - WRONG_PARAM_COUNT; + if (zend_parse_parameters_none() == FAILURE) { + return; } stream = php_stream_fopen_tmpfile(); |