Home
last modified time | relevance | path

Searched refs:yield (Results 76 – 100 of 292) sorted by relevance

12345678910>>...12

/PHP-8.3/Zend/tests/generators/
H A Dget_return_errors.phpt7 yield 1;
8 yield 2;
22 yield 1;
42 yield 2;
54 yield;
H A Dbug65035.phpt2 Bug #65035: yield / exit segfault
8 yield;
H A Dthrow_rethrow.phpt7 echo "before yield\n";
9 yield;
22 before yield
H A Dyield_during_function_call.phpt2 "yield" can occur during a function call
7 var_dump(str_repeat("x", yield));
H A Daborted_yield_during_switch.phpt2 Aborted yield during switch
9 yield;
H A Dreturn_from_by_ref_generator.phpt7 yield;
13 var_dump(yield from gen());
H A Daborted_yield_during_new.phpt2 Aborted yield during object instantiation
11 $x = new Foo(yield);
H A Daborted_yield_during_nested_fcalls.phpt2 Aborted yield during nested calls
9 func(func($x, $x, func($x, yield)));
H A Dbug79600.phpt7 yield from [
14 yield from createArrayGenerator();
H A Dyield_from_by_reference.phpt7 yield from [];
12 Fatal error: Cannot use "yield from" inside a by-reference generator in %s on line %d
H A Dyield_from_non_iterable.phpt7 yield from new stdClass;
18 Can use "yield from" only with arrays and Traversables
/PHP-8.3/Zend/tests/
H A Dbug71724.phpt2 Bug #71724: yield from does not count EOLs
8 yield
H A Dbug69989_1.phpt7 yield yield;
H A Dgh9916-003.phpt8 yield from (function () {
14 yield;
20 yield;
H A Dgh15275-005.phpt10 yield 'foo';
18 var_dump(new stdClass, yield from new It());
26 var_dump(new stdClass, yield from f());
H A Dgh15275-002.phpt10 yield 'foo';
22 var_dump(new stdClass, yield from new It());
30 var_dump(new stdClass, yield from f());
H A Dgh15275-003.phpt10 yield 'foo';
18 var_dump(new stdClass, yield from new It());
26 var_dump(new stdClass, yield from f());
H A Dgh15330-006.phpt14 yield 'foo';
19 yield from h();
23 var_dump(yield from g());
H A Dbug68775.phpt2 Bug #68775: yield in a function argument crashes or loops indefinitely
11 a(yield);
H A Dbug70397.phpt2 Bug #70397 (Segmentation fault when using Closure::call and yield)
8 yield $this->value;
H A Doss-fuzz-69765.phpt2 OSS-Fuzz #69765: yield reference to nullsafe chain
6 yield $object->y?->y;
/PHP-8.3/ext/reflection/tests/
H A DReflectionFunction_isGenerator_basic.phpt8 yield $param;
22 yield 'func2';
37 yield;
/PHP-8.3/Zend/tests/generators/finally/
H A Dyield_return.phpt2 try { yield } finally { return }
8 yield $i;
H A Dreturn_yield.phpt2 try { return } finally { yield }
10 yield $i;
/PHP-8.3/Zend/tests/generators/errors/
H A Dyield_outside_function_error.phpt6 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