Searched refs:Generator (Results 26 – 50 of 115) sorted by relevance
12345
26 Fatal error: Uncaught Error: Generator passed to yield from was aborted without proper return and i…28 #0 [internal function]: gen(Object(Generator))29 #1 %s(%d): Generator->next()
41 #1 %s(%d): Generator->next()45 #2 %s(%d): Generator->next()48 #1 %s(%d): Generator->next()
2 GH-14387 (Crash when stack walking in destructor of yielded from values during Generator->throw())6 function prime(Generator $generator) {33 #2 %s(%d): Generator->throw(Object(Error))
2 A generator function returns a Generator object14 var_dump($generator instanceof Generator);
26 #2 %s(%d): Generator->rewind()27 #3 %s(%d): f3(Object(Generator))
2 Bug #71441 (Typehinted Generator with return in try/finally crashes)9 return function (): \Generator {
2 Multiple yield from on a same Generator instance19 /* Twice a Generator from bar() using yield from on $gen */
2 Generator::throw() where the generator throws a different exception31 #1 %s(%d): Generator->throw(Object(RuntimeException))
2 Generator::getReturn() success cases40 function gen4() : Generator {62 function gen6() : Generator {
2 Generator shouldn't crash if last yielded value is a closure
2 Bug #70241 (Skipped assertions affect Generator returns)13 var_dump(foo() instanceof Generator);
2 Bug #72373: TypeError after Generator function w/declared return type finishes6 function foo() : Generator {
2 Bug GH-9916 009 (Entering shutdown sequence with a fiber suspended in a Generator emits an unavoida…32 #1 %s(%d): Generator->current()
13 yield; // Generator
12 Fatal error: Generator return type must be a supertype of Generator, never given in %s on line %d
10 function getIterator(): Generator {22 Generator
2 Generator with return type does not fail with empty return
24 object(Generator)#1 (0) {26 object(Generator)#1 (0) {
2 Generator return value has to have Traversable-ish, but may also have extra types20 object(Generator)#2 (0) {
8 prompt> caught Generator exception18 yield "caught Generator exception";
30 yield; // Generator !48 object(Generator)#2 (0) {79 object(Generator)#5 (0) {
24 $class = new ReflectionClass('Generator');45 Class Generator is an internal class marked as final that cannot be instantiated without invoking i…
22 Cannot fetch information from a terminated Generator
32 #1 %s(%d): Generator->rewind()38 #1 %s(%d): Generator->rewind()
9 final class Generator implements Iterator class
Completed in 25 milliseconds