Searched refs:yield (Results 76 – 100 of 292) sorted by relevance
12345678910>>...12
/PHP-8.3/Zend/tests/generators/ |
H A D | get_return_errors.phpt | 7 yield 1; 8 yield 2; 22 yield 1; 42 yield 2; 54 yield;
|
H A D | bug65035.phpt | 2 Bug #65035: yield / exit segfault 8 yield;
|
H A D | throw_rethrow.phpt | 7 echo "before yield\n"; 9 yield; 22 before yield
|
H A D | yield_during_function_call.phpt | 2 "yield" can occur during a function call 7 var_dump(str_repeat("x", yield));
|
H A D | aborted_yield_during_switch.phpt | 2 Aborted yield during switch 9 yield;
|
H A D | return_from_by_ref_generator.phpt | 7 yield; 13 var_dump(yield from gen());
|
H A D | aborted_yield_during_new.phpt | 2 Aborted yield during object instantiation 11 $x = new Foo(yield);
|
H A D | aborted_yield_during_nested_fcalls.phpt | 2 Aborted yield during nested calls 9 func(func($x, $x, func($x, yield)));
|
H A D | bug79600.phpt | 7 yield from [ 14 yield from createArrayGenerator();
|
H A D | yield_from_by_reference.phpt | 7 yield from []; 12 Fatal error: Cannot use "yield from" inside a by-reference generator in %s on line %d
|
H A D | yield_from_non_iterable.phpt | 7 yield from new stdClass; 18 Can use "yield from" only with arrays and Traversables
|
/PHP-8.3/Zend/tests/ |
H A D | bug71724.phpt | 2 Bug #71724: yield from does not count EOLs 8 yield
|
H A D | bug69989_1.phpt | 7 yield yield;
|
H A D | gh9916-003.phpt | 8 yield from (function () { 14 yield; 20 yield;
|
H A D | gh15275-005.phpt | 10 yield 'foo'; 18 var_dump(new stdClass, yield from new It()); 26 var_dump(new stdClass, yield from f());
|
H A D | gh15275-002.phpt | 10 yield 'foo'; 22 var_dump(new stdClass, yield from new It()); 30 var_dump(new stdClass, yield from f());
|
H A D | gh15275-003.phpt | 10 yield 'foo'; 18 var_dump(new stdClass, yield from new It()); 26 var_dump(new stdClass, yield from f());
|
H A D | gh15330-006.phpt | 14 yield 'foo'; 19 yield from h(); 23 var_dump(yield from g());
|
H A D | bug68775.phpt | 2 Bug #68775: yield in a function argument crashes or loops indefinitely 11 a(yield);
|
H A D | bug70397.phpt | 2 Bug #70397 (Segmentation fault when using Closure::call and yield) 8 yield $this->value;
|
H A D | oss-fuzz-69765.phpt | 2 OSS-Fuzz #69765: yield reference to nullsafe chain 6 yield $object->y?->y;
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionFunction_isGenerator_basic.phpt | 8 yield $param; 22 yield 'func2'; 37 yield;
|
/PHP-8.3/Zend/tests/generators/finally/ |
H A D | yield_return.phpt | 2 try { yield } finally { return } 8 yield $i;
|
H A D | return_yield.phpt | 2 try { return } finally { yield } 10 yield $i;
|
/PHP-8.3/Zend/tests/generators/errors/ |
H A D | yield_outside_function_error.phpt | 6 yield "Test"; 10 Fatal error: The "yield" expression can only be used inside a function in %s on line %d
|
Completed in 37 milliseconds
12345678910>>...12