Home
last modified time | relevance | path

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

1234

/PHP-5.5/
H A Dphp.ini-development216 ; Turning on this setting and managing its maximum buffer size can yield some
H A Dphp.ini-production216 ; Turning on this setting and managing its maximum buffer size can yield some
/PHP-5.5/ext/standard/tests/array/
H A Dcompact_basic.phpt30 // cases which should not yield any output.
/PHP-5.5/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-5.5/ext/reflection/tests/
H A DReflectionFunction_isGenerator_basic.phpt8 yield $param;
22 yield 'func2';
37 yield;
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_maketables.c80 unsigned char *yield, *p; in pcre_maketables() local
84 yield = (unsigned char*)(PUBL(malloc))(tables_length); in pcre_maketables()
86 yield = (unsigned char*)malloc(tables_length); in pcre_maketables()
89 if (yield == NULL) return NULL; in pcre_maketables()
90 p = yield; in pcre_maketables()
153 return yield; in pcre_maketables()
H A Dpcre_study.c806 int yield = SSB_DONE; in set_start_bits() local
990 yield = SSB_CONTINUE; in set_start_bits()
1424 return yield; in set_start_bits()
H A Dpcre_compile.c3975 register int yield = 0; in check_posix_name() local
3976 while (posix_name_lengths[yield] != 0) in check_posix_name()
3978 if (len == posix_name_lengths[yield] && in check_posix_name()
3979 STRNCMP_UC_C8(ptr, pn, (unsigned int)len) == 0) return yield; in check_posix_name()
3980 pn += posix_name_lengths[yield] + 1; in check_posix_name()
3981 yield++; in check_posix_name()
H A Dpcre_get.c347 int yield; in pcre_copy_substring() local
351 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_copy_substring()
352 if (size < yield + 1) return PCRE_ERROR_NOMEMORY; in pcre_copy_substring()
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_copy_substring()
354 buffer[yield] = 0; in pcre_copy_substring()
355 return yield; in pcre_copy_substring()
556 int yield; in pcre_get_substring() local
561 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_get_substring()
562 substring = (pcre_uchar *)(PUBL(malloc))(IN_UCHARS(yield + 1)); in pcre_get_substring()
565 substring[yield] = 0; in pcre_get_substring()
[all …]
H A DChangeLog825 now prints out the matched string after a yield of 0 or 1.
1445 pcre_exec() was not big enough for this capture, the yield of the function
/PHP-5.5/ext/pcre/pcrelib/doc/
H A Dpcre.txt1962 ANYCRLF, and ANY yield the same values. However, the value for LF is
2325 PCRE_NEWLINE_CRLF, but other combinations may yield unused numbers and
2699 variable to receive the data. The yield of the function is zero for
3052 yield of the function is the new value. However, the value of the count
3664 use by callout functions that want to yield a distinctive error code.
3906 The yield of the function is the length of the string, not including
3923 pointer. The yield of the function is zero if all went well, or the
3971 piled pattern, and the second is the name. The yield of the function is
4054 matches, pcre_exec() will yield PCRE_ERROR_NOMATCH.
4193 On success, the yield of the function is a number greater than zero,
[all …]
/PHP-5.5/Zend/tests/generators/
H A Dbug63066.phpt7 yield 'foo';
H A Dbug65035.phpt2 Bug #65035: yield / exit segfault
8 yield;
H A Dbug65161.phpt13 yield;
H A Dbug67497.phpt8 yield $a;
H A Dclone.phpt7 yield;
/PHP-5.5/Zend/tests/generators/errors/
H A Dgenerator_cannot_return_before_yield_error.phpt2 Generators cannot return values (even before yield)
8 yield;
H A Dgenerator_cannot_return_error.phpt7 yield;
H A Dnon_ref_generator_iterated_by_ref_error.phpt6 function gen() { yield; }
H A Dresume_running_generator_error.phpt7 $gen = yield;
H A Dserialize_unserialize_error.phpt6 function gen() { yield; }
H A Dyield_in_force_closed_finally_error.phpt2 yield cannot be used in a finally block when the generator is force-closed
8 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";
26 before yield
27 before yield in finally
29 Fatal error: Cannot yield from finally in a force-closed generator in %s on line %d
/PHP-5.5/Zend/tests/generators/finally/
H A Dreturn_return.phpt23 yield; // force generator
H A Dthrow_yield.phpt2 try { throw } finally { yield }
10 yield $i;
H A Dyield_throw.phpt2 try { yield } finally { throw }
8 yield $i;

Completed in 145 milliseconds

1234