diff --git a/doc/php_syntax_check.sh b/doc/php_syntax_check.sh index 8acd1bdfaf..f868353302 100755 --- a/doc/php_syntax_check.sh +++ b/doc/php_syntax_check.sh @@ -9,7 +9,7 @@ cd `dirname $0` cd .. -find ${@-.} -name '*.php' -exec php -l {} \; 2>&1 | \ +find ${@-.} -name '*.php' -exec php -d hhvm.jit=0 -l {} \; 2>&1 | \ # only show errors and PHP Deprecated, no success messages egrep '^(PHP|Parse error)' | \ # suppress PHP Deprecated in vendor, as they need to be solved by the vendor