diff options
author | Reeze Xia <reeze@php.net> | 2015-03-03 18:37:47 +0800 |
---|---|---|
committer | Reeze Xia <reeze@php.net> | 2015-03-03 18:37:47 +0800 |
commit | f97251adecfcf5ff7880136dfc594171457235f1 (patch) | |
tree | 68aebf6613938a6bde799bf8d799a85a2c8b67e0 | |
parent | bb2e62ecda3f3935a076063be66b394ac6831c09 (diff) | |
download | php-git-f97251adecfcf5ff7880136dfc594171457235f1.tar.gz |
Add missing zend_parse_parameters_none() for flush()
-rw-r--r-- | ext/standard/basic_functions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 26f72098bf..f1c671d532 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -4384,6 +4384,10 @@ PHP_FUNCTION(getopt) Flush the output buffer */ PHP_FUNCTION(flush) { + if (zend_parse_parameters_none() == FAILURE) { + return; + } + sapi_flush(); } /* }}} */ |