Home
last modified time | relevance | path

Searched refs:Generator (Results 1 – 25 of 63) sorted by path

123

/PHP-7.2/
H A DNEWS204 . Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC
2536 . Fixed bug #72373 (TypeError after Generator function w/declared return type
H A DREADME.REDIST.BINS124 Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on
/PHP-7.2/Zend/tests/
H A Dbug69599.phpt19 #1 %s(%d): iterator_to_array(Object(Generator))
H A Dbug69989_3.phpt2 Generator cycle collection edge cases
H A Dbug70241.phpt2 Bug #70241 (Skipped assertions affect Generator returns)
13 var_dump(foo() instanceof Generator);
H A Dbug71980.phpt2 Bug #71980: Decorated/Nested Generator is Uncloseable in Finally
H A Dbug72373.phpt2 Bug #72373: TypeError after Generator function w/declared return type finishes
6 function foo() : Generator {
H A Dbug74840.phpt13 yield; // Generator
/PHP-7.2/Zend/tests/generators/
H A Dauto_incrementing_keys.phpt2 Generator keys are auto-incrementing by default
H A Dbacktrace.phpt26 #2 Generator->rewind() called at [%s:%d]
27 #3 f3(Generator Object ()) called at [%s:%d]
H A Dbug65161.phpt2 Bug #65161: Generator + autoload + syntax error = segfault
H A Dbug71441.phpt2 Bug #71441 (Typehinted Generator with return in try/finally crashes)
9 return function (): \Generator {
H A Dbug74954.phpt37 #1 [internal function]: gen(Object(Generator))
38 #2 %s(%d): Generator->next()
41 ClosedGeneratorException: Generator yielded from aborted, no return value available in %s:%d
43 #0 [internal function]: gen(Object(Generator))
44 #1 %s(%d): Generator->next()
H A Dclone.phpt15 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class Generator in %s:%d
H A Dgc_with_root_parent_mismatch.phpt2 Generator GC when the yield from parent chain does not reach the root
H A Dgc_with_yield_from.phpt35 object(Generator)#1 (0) {
38 object(Generator)#2 (0) {
41 object(Generator)#3 (0) {
44 object(Generator)#4 (0) {
H A Dgenerator_method_by_ref.phpt2 Generator methods can yield by reference
H A Dgenerator_return_return_type.phpt6 $gen = (function (): Generator {
H A Dgenerator_return_without_value.phpt36 object(Generator)#%d (0) {
38 object(Generator)#%d (0) {
40 object(Generator)#%d (0) {
42 object(Generator)#%d (0) {
H A Dgenerator_returns_generator.phpt2 A generator function returns a Generator object
14 var_dump($generator instanceof Generator);
H A Dgenerator_rewind.phpt54 #0 %s(%d): Generator->rewind()
/PHP-7.2/Zend/tests/generators/errors/
H A Dgenerator_extend_error.phpt2 The Generator class cannot be extended
6 class ExtendedGenerator extends Generator { }
10 Fatal error: Class ExtendedGenerator may not inherit from final class (Generator) in %s on line %d
H A Dgenerator_instantiate_error.phpt2 It's not possible to directly instantiate the Generator class
6 new Generator;
10 Fatal error: Uncaught Error: The "Generator" class is reserved for internal use and cannot be manua…
H A Dresume_running_generator_error.phpt26 #0 %s(%d): Generator->next()
28 #2 %s(%d): Generator->send(Object(Generator))
H A Dserialize_unserialize_error.phpt17 var_dump(unserialize('O:9:"Generator":0:{}'));
23 var_dump(unserialize('C:9:"Generator":0:{}'));
30 Exception: Serialization of 'Generator' is not allowed in %s:%d
32 #0 %s(%d): serialize(Object(Generator))
36 Warning: Erroneous data format for unserializing 'Generator' in %sserialize_unserialize_error.php o…
40 Exception: Unserialization of 'Generator' is not allowed in %s:%d
42 #0 %s(%d): unserialize('C:9:"Generator"...')

Completed in 33 milliseconds

123