1--TEST--
2Bug #67467: eval with parse error causes segmentation fault in generator
3--FILE--
4<?php
5
6function gen() {
7 $a = 1;
8 yield $a;
9}
10
11@eval('abc');
12
13$values = gen();
14$values->next();
15
16?>
17===DONE===
18--EXPECT--
19===DONE===
20