Home
last modified time | relevance | path

Searched refs:yield (Results 51 – 75 of 199) sorted by relevance

12345678

/PHP-7.4/Zend/tests/generators/
H A Dbug70965.phpt2 Bug #70965 (yield from with a common iterator primes too much)
7 yield from [1, 2, 3, 4, 5];
11 yield from $g;
H A Dyield_from_already_running.phpt7 yield from yield;
14 Fatal error: Uncaught Error: Impossible to yield from the Generator being currently run in %s:%d
H A Dyield_from_valid_exception.phpt2 Exception from valid() during yield from
18 // the fact that the yield from result is used is relevant.
19 var_dump(yield from new FooBar);
H A Dgc_with_yield_from.phpt2 Verify yield from on generators being properly cycle collected
11 yield 1;
19 yield from $gens[] = $x ? gen(--$x) : root();
H A Dbug65035.phpt2 Bug #65035: yield / exit segfault
8 yield;
H A Dget_return_errors.phpt7 yield 1;
8 yield 2;
22 yield 1;
42 yield 2;
54 yield;
H A Daborted_yield_during_switch.phpt2 Aborted yield during switch
9 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_new.phpt2 Aborted yield during object instantiation
11 $x = new Foo(yield);
H A Dreturn_from_by_ref_generator.phpt7 yield;
13 var_dump(yield from gen());
H A Dthrow_rethrow.phpt7 echo "before yield\n";
9 yield;
22 before 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-7.4/Zend/tests/type_declarations/
H A Diterable_001.phpt11 yield 1;
12 yield 2;
13 yield 3;
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c78 uint8_t *yield = (uint8_t *)malloc(TABLES_LENGTH); local
84 uint8_t *yield = (uint8_t *)((gcontext != NULL)?
92 if (yield == NULL) return NULL;
93 p = yield;
149 return yield;
/PHP-7.4/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 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;
/PHP-7.4/ext/reflection/tests/
H A DReflectionFunction_isGenerator_basic.phpt8 yield $param;
22 yield 'func2';
37 yield;
/PHP-7.4/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
/PHP-7.4/Zend/tests/generators/finally/
H A Dreturn_yield.phpt2 try { return } finally { yield }
10 yield $i;
H A Dyield_return.phpt2 try { yield } finally { return }
8 yield $i;

Completed in 28 milliseconds

12345678