helly Sat Feb 2 13:11:13 2008 UTC Modified files: /php-src/ext/standard type.c Log: - Fix flag handling (MFB) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/type.c?r1=1.53&r2=1.54&diff_format=u Index: php-src/ext/standard/type.c diff -u php-src/ext/standard/type.c:1.53 php-src/ext/standard/type.c:1.54 --- php-src/ext/standard/type.c:1.53 Mon Dec 31 07:12:16 2007 +++ php-src/ext/standard/type.c Sat Feb 2 13:11:12 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: type.c,v 1.53 2007/12/31 07:12:16 sebastian Exp $ */ +/* $Id: type.c,v 1.54 2008/02/02 13:11:12 helly Exp $ */ #include "php.h" #include "php_incomplete_class.h" @@ -467,6 +467,7 @@ return; } + syntax_only = syntax_only ? IS_CALLABLE_CHECK_SYNTAX_ONLY : 0; if (ZEND_NUM_ARGS() > 2) { retval = zend_is_callable(var, syntax_only, &name); REPLACE_ZVAL_VALUE(callable_name, &name, 0);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php