From: Dmitry Stogov Date: Wed, 25 Mar 2020 14:38:08 +0000 (+0300) Subject: Merge branch 'PHP-7.4' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a05fef2af117176c36417f1ee2411bccde38c41;p=php Merge branch 'PHP-7.4' * PHP-7.4: Fixed bug #79412 (Opcache chokes and uses 100% CPU on specific script). --- 5a05fef2af117176c36417f1ee2411bccde38c41 diff --cc ext/opcache/tests/bug79412.phpt index 0000000000,20fb0a5ba9..6c9232ff85 mode 000000,100644..100644 --- a/ext/opcache/tests/bug79412.phpt +++ b/ext/opcache/tests/bug79412.phpt @@@ -1,0 -1,25 +1,25 @@@ + --TEST-- + Bug #79412 (Opcache chokes and uses 100% CPU on specific script) + --INI-- + opcache.enable=1 + opcache.optimization_level=-1 + --SKIPIF-- + + --FILE-- + = $limitPerRun) { + break; + } + } + foo($limitPerRun); + } + ?> + --EXPECTF-- -Notice: Undefined variable: foo in %s on line %d ++Warning: Undefined variable: foo in %s on line %d + -Warning: Invalid argument supplied for foreach() in %s on line %d ++Warning: foreach() argument must be of type array|object, null given in %s on line %d