Searched refs:yield (Results 26 – 50 of 292) sorted by relevance
12345678910>>...12
2 Observer: Generator with 'yield from'14 yield $i;19 yield 0;20 yield 1;21 yield from barResults();22 yield 42;
7 yield 'foo';8 yield 'bar';9 yield 5 => 'rab';10 yield 'oof';
2 Cannot "yield from" from force closed generator8 yield 1;14 yield from gen1();17 yield from gen1();34 Error: Cannot use "yield from" in a force-closed generator in %s:%d
2 Free pending exceptions / return values on clone on yield in finally9 yield;17 yield;28 yield;38 yield;
6 yield from [yield];13 $x = yield;14 yield from [1, 2, 3];
2 Bug #80240: Use after free multi yield from7 yield 0;8 yield from gen();12 yield from $gen;
8 yield;16 yield;24 yield;32 yield;40 yield;
7 yield 'a';8 yield 'aa';12 yield 'b';13 yield 'bb';
7 yield;12 yield;18 yield;23 yield;
7 echo "before yield\n";9 yield;14 yield 'result';22 before yield
2 When + or - are used on yield, they must be unary (and not binary) (Bug #69160)6 var_dump(yield +1);7 var_dump(yield -1);8 var_dump(yield * -1); // other ops still should behave normally
2 Exceptions in linear yield from setup7 yield $off + 1;11 yield 1;13 yield 2;14 yield from from(2);
2 Generator GC when the yield from parent chain does not reach the root7 yield 1;8 yield 2;12 yield from $gen;
2 Generator backtrace with multi yield from7 yield 1;9 yield 2;13 yield from $gen;
8 yield 24;16 yield 24;25 // & for generators specifies by-reference yield, not return29 yield $var;41 yield 24;52 yield 24;64 yield 24;
2 Bug #71601 (finally block not executed after yield from)8 yield 1;9 yield 2;19 var_dump(yield from gen1());
11 yield 1;12 yield 2;13 yield 3;18 yield $x;
7 yield 1;8 yield 2;9 yield 3;
2 Exceptions in linear yield from setup7 yield $off + 1;9 yield $off + 2;14 yield "gen" => 0;17 yield from from(0);19 yield from from(2);
7 $gen = yield;9 yield $v;14 $gen = yield;15 $gen + yield;
7 yield from (function () {12 yield;14 yield from (function () {19 yield;21 yield;
2 Bug #79927: Generator doesn't throw exception after multiple yield from iterable7 yield from [1, 2, 3];20 yield from [];21 yield 4;
2 Test typed properties yield reference guard12 yield $this->foo;13 yield $this->bar;14 yield $this->baz;15 yield $this->qux;
9 echo "before yield\n";10 yield;11 echo "after yield\n";28 before yield
7 yield 1;8 yield 2;13 yield from foo();18 yield from bar();
Completed in 37 milliseconds