]> granicus.if.org Git - php/commitdiff
- Fix flag handling (MFB)
authorMarcus Boerger <helly@php.net>
Sat, 2 Feb 2008 13:11:12 +0000 (13:11 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 2 Feb 2008 13:11:12 +0000 (13:11 +0000)
ext/standard/type.c

index 53220b1b78284a6730408dc6f49e4c7daa80fb4d..b565848d742caddd49126e7652904674f858cb98 100644 (file)
@@ -467,6 +467,7 @@ PHP_FUNCTION(is_callable)
                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);