diff --git a/Zend/tests/generators/yield_precedence.phpt b/Zend/tests/generators/yield_precedence.phpt index a028f0e91b529..85abef1fd12ce 100644 --- a/Zend/tests/generators/yield_precedence.phpt +++ b/Zend/tests/generators/yield_precedence.phpt @@ -5,7 +5,7 @@ Precedence of yield and arrow operators function gen() { yield "a" . "b"; - yield "a" or die(); + yield "a" or die; yield "k" => "a" . "b"; yield "k" => "a" or die(); var_dump([yield "k" => "a" . "b"]); diff --git a/Zend/tests/gh9916-006.phpt b/Zend/tests/gh9916-006.phpt index fc97f4813f423..28c57105c7b1f 100644 --- a/Zend/tests/gh9916-006.phpt +++ b/Zend/tests/gh9916-006.phpt @@ -14,7 +14,7 @@ $gen = (function() { yield from (function () { $x = new stdClass; print "Before exit\n"; - exit(); + exit; print "Not executed\n"; yield; })(); diff --git a/Zend/tests/jump12.phpt b/Zend/tests/jump12.phpt index 9c759f379fe18..3c244d6181995 100644 --- a/Zend/tests/jump12.phpt +++ b/Zend/tests/jump12.phpt @@ -7,7 +7,7 @@ goto c; declare (ticks=1) { b: print "ok!\n"; - exit(); + exit; } c: print "ok!\n"; diff --git a/Zend/tests/throw/leaks.phpt b/Zend/tests/throw/leaks.phpt index 2cf9b9d29b9aa..0f9311a820c04 100644 --- a/Zend/tests/throw/leaks.phpt +++ b/Zend/tests/throw/leaks.phpt @@ -24,7 +24,7 @@ try { var_dump(error_reporting()); // Exit also unwinds and thus has the same basic problem. -new stdClass(exit()); +new stdClass(exit); ?> --EXPECT--