Home
last modified time | relevance | path

Searched refs:Generator (Results 26 – 50 of 115) sorted by relevance

12345

/PHP-8.3/Zend/tests/generators/
H A Dyield_from_aborted_generator_with_children.phpt26 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()
H A Dyield_from_backtrace.phpt41 #1 %s(%d): Generator->next()
45 #2 %s(%d): Generator->next()
48 #1 %s(%d): Generator->next()
H A Dgh14387.phpt2 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))
H A Dgenerator_returns_generator.phpt2 A generator function returns a Generator object
14 var_dump($generator instanceof Generator);
H A Dbacktrace.phpt26 #2 %s(%d): Generator->rewind()
27 #3 %s(%d): f3(Object(Generator))
H A Dbug71441.phpt2 Bug #71441 (Typehinted Generator with return in try/finally crashes)
9 return function (): \Generator {
H A Dmultiple_yield_from_on_same_generator.phpt2 Multiple yield from on a same Generator instance
19 /* Twice a Generator from bar() using yield from on $gen */
H A Dthrow_rethrow.phpt2 Generator::throw() where the generator throws a different exception
31 #1 %s(%d): Generator->throw(Object(RuntimeException))
H A Dget_return.phpt2 Generator::getReturn() success cases
40 function gen4() : Generator {
62 function gen6() : Generator {
H A Dyield_closure.phpt2 Generator shouldn't crash if last yielded value is a closure
/PHP-8.3/Zend/tests/
H A Dbug70241.phpt2 Bug #70241 (Skipped assertions affect Generator returns)
13 var_dump(foo() instanceof Generator);
H A Dbug72373.phpt2 Bug #72373: TypeError after Generator function w/declared return type finishes
6 function foo() : Generator {
H A Dgh9916-009.phpt2 Bug GH-9916 009 (Entering shutdown sequence with a fiber suspended in a Generator emits an unavoida…
32 #1 %s(%d): Generator->current()
H A Dbug74840.phpt13 yield; // Generator
/PHP-8.3/Zend/tests/return_types/
H A Dnever_generator.phpt12 Fatal error: Generator return type must be a supertype of Generator, never given in %s on line %d
H A Dgenerators003.phpt10 function getIterator(): Generator {
22 Generator
H A Dgenerators004.phpt2 Generator with return type does not fail with empty return
/PHP-8.3/ext/zend_test/tests/
H A Dzend_legacy_iterable.phpt24 object(Generator)#1 (0) {
26 object(Generator)#1 (0) {
/PHP-8.3/Zend/tests/type_declarations/union_types/
H A Dgenerator_return_containing_extra_types.phpt2 Generator return value has to have Traversable-ish, but may also have extra types
20 object(Generator)#2 (0) {
/PHP-8.3/sapi/phpdbg/tests/
H A Dgenerator_run.phpt8 prompt> caught Generator exception
18 yield "caught Generator exception";
/PHP-8.3/ext/reflection/tests/
H A DReflectionGenerator_in_Generator.phpt30 yield; // Generator !
48 object(Generator)#2 (0) {
79 object(Generator)#5 (0) {
H A DReflectionClass_newInstanceWithoutConstructor.phpt24 $class = new ReflectionClass('Generator');
45 Class Generator is an internal class marked as final that cannot be instantiated without invoking i…
H A D027.phpt22 Cannot fetch information from a terminated Generator
/PHP-8.3/Zend/tests/try/
H A Dbug71604_2.phpt32 #1 %s(%d): Generator->rewind()
38 #1 %s(%d): Generator->rewind()
/PHP-8.3/Zend/
H A Dzend_generators.stub.php9 final class Generator implements Iterator class

Completed in 25 milliseconds

12345