Re: com php-src: Add missing zend_parse_parameters_none() for flush(): ext/standard/basic_functions.c

From: Date: Tue, 03 Mar 2015 13:54:30 +0000
Subject: Re: com php-src: Add missing zend_parse_parameters_none() for flush(): ext/standard/basic_functions.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85172@lists.php.net to get a copy of this message
tests/output/flush_error_001.phpt is broken in master. please fix. Thanks. Dmitry. On Tue, Mar 3, 2015 at 1:37 PM, Reeze Xia <reeze@php.net> wrote: > Commit: f97251adecfcf5ff7880136dfc594171457235f1 > Author: Reeze Xia <reeze@php.net> Tue, 3 Mar 2015 18:37:47 > +0800 > Parents: bb2e62ecda3f3935a076063be66b394ac6831c09 > Branches: master > > Link: > > http://git.php.net/?p=php-src.git;a=commitdiff;h=f97251adecfcf5ff7880136dfc594171457235f1 > > Log: > Add missing zend_parse_parameters_none() for flush() > > Changed paths: > M ext/standard/basic_functions.c > > > Diff: > diff --git a/ext/standard/basic_functions.c > b/ext/standard/basic_functions.c > index 26f7209..f1c671d 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(); > } > /* }}} */ > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.cvs (#85172) next »