From: Marcus Boerger Date: Sat, 2 Feb 2008 13:11:12 +0000 (+0000) Subject: - Fix flag handling (MFB) X-Git-Tag: RELEASE_2_0_0a1~659 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6840a7815d4bcb317c0b7011c2d7a95d44f65dd4;p=php - Fix flag handling (MFB) --- diff --git a/ext/standard/type.c b/ext/standard/type.c index 53220b1b78..b565848d74 100644 --- a/ext/standard/type.c +++ b/ext/standard/type.c @@ -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);