felipe Wed Jan 7 18:34:18 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/main output.c
Log:
- Checking 0 param in the new way [only in this branch]
http://cvs.php.net/viewvc.cgi/php-src/main/output.c?r1=1.167.2.3.2.4.2.10&r2=1.167.2.3.2.4.2.11&diff_format=u
Index: php-src/main/output.c
diff -u php-src/main/output.c:1.167.2.3.2.4.2.10
php-src/main/output.c:1.167.2.3.2.4.2.11
--- php-src/main/output.c:1.167.2.3.2.4.2.10 Wed Dec 31 11:15:47 2008
+++ php-src/main/output.c Wed Jan 7 18:34:18 2009
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: output.c,v 1.167.2.3.2.4.2.10 2008/12/31 11:15:47 sebastian Exp $ */
+/* $Id: output.c,v 1.167.2.3.2.4.2.11 2009/01/07 18:34:18 felipe Exp $ */
#include "php.h"
#include "ext/standard/head.h"
@@ -558,11 +558,10 @@
*/
PHP_FUNCTION(ob_list_handlers)
{
- if (ZEND_NUM_ARGS()!=0) {
- ZEND_WRONG_PARAM_COUNT();
- RETURN_FALSE;
+ if (zend_parse_parameters_none() == FAILURE) {
+ return;
}
-
+
array_init(return_value);
if (OG(ob_nesting_level)) {
if (OG(ob_nesting_level)>1) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php