summaryrefslogtreecommitdiff
path: root/Zend/tests/generators/bug71441.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/generators/bug71441.phpt')
-rw-r--r--Zend/tests/generators/bug71441.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/Zend/tests/generators/bug71441.phpt b/Zend/tests/generators/bug71441.phpt
index 14395d2402..a0d270a05f 100644
--- a/Zend/tests/generators/bug71441.phpt
+++ b/Zend/tests/generators/bug71441.phpt
@@ -7,13 +7,13 @@ $num = 2000; /* to be sure to be in wild memory */
$add = str_repeat("1 +", $num);
$gen = (eval(<<<PHP
return function (): \Generator {
- try {
- \$a = 1;
- \$foo = \$a + $add \$a;
- return yield \$foo;
- } finally {
- print "Ok\n";
- }
+ try {
+ \$a = 1;
+ \$foo = \$a + $add \$a;
+ return yield \$foo;
+ } finally {
+ print "Ok\n";
+ }
};
PHP
))();