Home
last modified time | relevance | path

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

12345678

/PHP-7.4/Zend/tests/generators/
H A Dsend_returns_current.phpt7 $data = yield;
9 $data = (yield strrev($data));
H A Ddynamic_call.phpt7 yield $foo;
8 yield $bar;
H A Dnested_calls_with_die.phpt8 yield; // force generator
22 yield; // force generator
H A Dyield_without_value.phpt2 yield can be used without a value
8 var_dump(yield);
H A Dgenerator_with_keys.phpt2 Generators can also yield keys
9 yield $key => current($array);
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 Dthrow_into_yield_from_array.phpt10 yield $val;
15 yield from $in;
H A Dyield_from_multi_tree_exception.phpt2 yield from on multiple trees needing merge
8 yield $v;
16 yield from $gen;
H A Dget_return_and_finally.phpt12 yield;
25 yield;
H A Dbug71013.phpt2 Bug #71013 (Incorrect exception handler with yield from)
19 yield from $f;
/PHP-7.4/Zend/tests/array_unpack/
H A Dnon_integer_keys.phpt6 yield [] => 1;
7 yield 1.23 => 123;
/PHP-7.4/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-7.4/Zend/tests/generators/finally/
H A Dyield_throw.phpt2 try { yield } finally { throw }
8 yield $i;
H A Dthrow_yield.phpt2 try { throw } finally { yield }
10 yield $i;
/PHP-7.4/ext/reflection/tests/
H A DReflectionGenerator_basic.phpt7 yield;
13 yield from foo();
17 yield;
H A DReflectionGenerator_in_Generator.phpt28 yield from (function() use ($ref) {
30 yield; // Generator !
/PHP-7.4/Zend/tests/
H A Dbug71980.phpt15 yield $value;
24 var_dump(new Dtor, yield);
H A Dbug62991.phpt10 yield "hi";
19 yield "hi";
/PHP-7.4/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()

Completed in 25 milliseconds

12345678