Home
last modified time | relevance | path

Searched refs:yield (Results 26 – 50 of 83) sorted by relevance

1234

/PHP-5.5/Zend/tests/generators/
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 Dgenerator_throwing_exception.phpt7 yield 'foo';
9 yield 'bar';
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_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 Dignored_send_leak.phpt7 yield;
H A Dyield_array_key.phpt7 yield [] => 1;
H A Dsend_after_close.phpt6 function gen() { var_dump(yield); }
H A Dyield_closure.phpt7 yield function() {};
H A Dbug67497.phpt8 yield $a;
H A Dgenerator_closure_with_this.phpt9 yield $this;
H A Dfunc_get_args.phpt8 yield; // trigger generator
H A Dclone.phpt7 yield;
H A Dunused_return_value.phpt6 function gen($foo) { yield; }
H A Dyield_array_offset_by_ref.phpt7 yield $array[0];
/PHP-5.5/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;
H A Drun_on_dtor.phpt8 yield;
/PHP-5.5/ext/pcre/pcrelib/
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 …]
/PHP-5.5/Zend/tests/
H A Dbug62991.phpt10 yield "hi";
19 yield "hi";
H A Dbug69221_2.phpt7 yield 1;
/PHP-5.5/Zend/tests/generators/errors/
H A Dgenerator_cannot_return_error.phpt7 yield;

Completed in 55 milliseconds

1234