Home
last modified time | relevance | path

Searched refs:yield (Results 1 – 25 of 199) sorted by last modified time

12345678

/PHP-7.4/
H A DNEWS874 . Fixed bug #79657 ("yield from" hangs when invalid value encountered).
H A Dphp.ini-development197 ; Turning on this setting and managing its maximum buffer size can yield some
H A Dphp.ini-production197 ; Turning on this setting and managing its maximum buffer size can yield some
/PHP-7.4/Zend/tests/generators/
H A Dgc_running_generator.phpt7 yield;
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 Dyield_from_non_iterable.phpt7 yield from new stdClass;
18 Can use "yield from" only with arrays and Traversables
H A Dbug79600.phpt7 yield from [
14 yield from createArrayGenerator();
H A Dbug78434.phpt7 yield 0;
13 yield from $generator;
17 yield from $generator;
H A Dyield_from_multi_tree.phpt2 yield from on multiple trees needing merge
8 yield $v;
13 yield from $gen;
H A Dyield_in_finally_cleanup.phpt2 Free pending exceptions / return values on clone on yield in finally
9 yield;
17 yield;
28 yield;
38 yield;
H A Dexception_during_shutdown.phpt8 echo "before yield\n";
9 yield;
10 echo "after yield\n";
12 echo "before yield in finally\n";
13 yield;
14 echo "after yield in finally\n";
24 before yield
25 before yield in finally
27 Fatal error: Uncaught Error: Cannot yield from finally in a force-closed generator in %s:%d
H A Dthrow_not_an_exception.phpt7 yield;
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_study.c957 int yield = SSB_DONE; in set_start_bits() local
1145 yield = SSB_CONTINUE; in set_start_bits()
1650 return yield; in set_start_bits()
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;
H A Dpcre2_compile.c1318 BOOL yield = FALSE; in read_number() local
1365 yield = TRUE; in read_number()
1370 return yield; in read_number()
1402 BOOL yield = FALSE; in read_repeat_counts() local
1437 yield = TRUE; in read_repeat_counts()
1446 return yield; in read_repeat_counts()
2231 int yield = 0; in check_posix_name() local
2232 while (posix_name_lengths[yield] != 0) in check_posix_name()
2234 if (len == posix_name_lengths[yield] && in check_posix_name()
2236 pn += posix_name_lengths[yield] + 1; in check_posix_name()
[all …]
H A Dpcre2_match_data.c59 pcre2_match_data *yield; in pcre2_match_data_create() local
61 yield = PRIV(memctl_malloc)( in pcre2_match_data_create()
64 if (yield == NULL) return NULL; in pcre2_match_data_create()
65 yield->oveccount = oveccount; in pcre2_match_data_create()
66 yield->flags = 0; in pcre2_match_data_create()
67 return yield; in pcre2_match_data_create()
H A Dpcre2_context.c89 void *yield = (memctl == NULL)? malloc(size) : in PRIV() local
91 if (yield == NULL) return NULL; in PRIV()
92 newmemctl = (pcre2_memctl *)yield; in PRIV()
100 return yield; in PRIV()
/PHP-7.4/scripts/dev/
H A Dbless_tests.php54 yield $file->getPathName();
57 yield $dirOrFile;
/PHP-7.4/Zend/tests/
H A Dbug79657.phpt2 Bug #79657: "yield from" hangs when invalid value encountered
15 yield 'first';
18 yield from throwException();
23 yield from $callback();
/PHP-7.4/sapi/phpdbg/
H A Dtest.php32 yield $var;
/PHP-7.4/ext/spl/tests/
H A Diterator_to_array_nonscalar_keys.phpt7 yield "foo" => 0;
8 yield 1 => 1;
9 yield 2.5 => 2;
10 yield null => 3;
11 yield [] => 4;
12 yield new stdClass => 5;
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_034.phpt11 yield $item;
/PHP-7.4/Zend/tests/return_types/
H A Dgenerators002.phpt6 yield 1;
/PHP-7.4/Zend/tests/assert/
H A Dexpect_015.phpt19 yield 1 => 2;
20 yield from $x;
161 yield 1 => 2;
162 yield from $x;
/PHP-7.4/tests/lang/operators/
H A Dnan-comparison-false.phpt2 Comparisons with NAN should yield false, even at compile-time

Completed in 71 milliseconds

12345678