Home
last modified time | relevance | path

Searched refs:yield (Results 101 – 125 of 270) sorted by relevance

1234567891011

/PHP-8.3/Zend/tests/arg_unpack/
H A Dnon_integer_keys.phpt9 yield 1.23 => 123;
10 yield "2.34" => 234;
H A Dtraversable_throwing_exception.phpt17 yield 1;
18 yield 2;
/PHP-8.3/Zend/tests/generators/
H A Dthrow_uncaught.phpt7 yield 'thisThrows';
8 yield 'notReached';
H A Dyield_by_reference.phpt2 Generators can yield by-reference
8 yield $key => $value;
H A Dgenerator_throwing_exception.phpt7 yield 'foo';
9 yield 'bar';
H A Dmutli_yield_from_with_exception.phpt2 Multiple yield from on a same Generator throwing an Exception
6 yield 1;
12 var_dump(yield from $gen);
H A Dgenerator_method_by_ref.phpt2 Generator methods can yield by reference
19 yield $key => $value;
H A Dgenerator_throwing_during_function_call.phpt11 yield 'foo';
13 yield 'bar';
H A Dyield_from_throw_with_throwing_exception.phpt2 Exceptions are properly appended when thrown from yield from values destruction
7 yield from [1, 2, new class {
H A Dyield_from_multi_tree_exception.phpt2 yield from on multiple trees needing merge
8 yield $v;
16 yield from $gen;
H A Dthrow_into_yield_from_array.phpt10 yield $val;
15 yield from $in;
H A Dgh8289.phpt8 yield from new class(new ArrayIterator([1, -2])) extends IteratorIterator {
18 yield 2;
H A Dget_return_and_finally.phpt12 yield;
25 yield;
H A Dbug74954.phpt7 yield 1;
13 var_dump(yield from $gen);
/PHP-8.3/Zend/tests/generators/finally/
H A Dthrow_yield.phpt2 try { throw } finally { yield }
10 yield $i;
H A Dyield_throw.phpt2 try { yield } finally { throw }
8 yield $i;
/PHP-8.3/Zend/tests/
H A Dgh9916-005.phpt7 $fiber = yield;
10 yield;
H A Dbug71980.phpt15 yield $value;
24 var_dump(new Dtor, yield);
H A Dbug62991.phpt10 yield "hi";
19 yield "hi";
H A Dgh9916-009.phpt13 yield from ['foo' => new stdClass];
29 Fatal error: Uncaught Error: Cannot use "yield from" in a force-closed generator in %s:%d
/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_substring.c214 PCRE2_UCHAR *yield; in pcre2_substring_get_bynumber() local
217 yield = PRIV(memctl_malloc)(sizeof(pcre2_memctl) + in pcre2_substring_get_bynumber()
219 if (yield == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_substring_get_bynumber()
220 yield = (PCRE2_UCHAR *)(((char *)yield) + sizeof(pcre2_memctl)); in pcre2_substring_get_bynumber()
221 memcpy(yield, match_data->subject + match_data->ovector[stringnumber*2], in pcre2_substring_get_bynumber()
223 yield[size] = 0; in pcre2_substring_get_bynumber()
224 *stringptr = yield; in pcre2_substring_get_bynumber()
/PHP-8.3/ext/reflection/tests/
H A DReflectionGenerator_basic.phpt7 yield;
13 yield from foo();
17 yield;
/PHP-8.3/sapi/fuzzer/dict/
H A Dparser7 "yield"
8 "yield from"
/PHP-8.3/Zend/tests/array_unpack/
H A Dstring_keys.phpt21 yield "42" => 42;
28 yield "4" . $foo => 42;
/PHP-8.3/ext/zend_test/tests/
H A Dobserver_retval_02.phpt13 yield 'I should be observable';
14 yield 'Me too!';

Completed in 53 milliseconds

1234567891011