Home
last modified time | relevance | path

Searched refs:Generator (Results 1 – 25 of 51) sorted by last modified time

123

/PHP-7.0/ext/reflection/tests/
H A DReflectionClass_newInstanceWithoutConstructor.phpt24 $class = new ReflectionClass('Generator');
34 Fatal error: Uncaught ReflectionException: Class Generator is an internal class marked as final tha…
H A Dbug64007.phpt2 Bug #64007 (There is an ability to create instance of Generator by hand)
5 $reflection = new ReflectionClass('Generator');
17 string(%d) "Class Generator is an internal class marked as final that cannot be instantiated withou…
19 Fatal error: Uncaught Error: The "Generator" class is reserved for internal use and cannot be manua…
H A DReflectionGenerator_basic.phpt25 $gen->valid(); // start Generator
38 object(Generator)#2 (0) {
56 object(Generator)#6 (0) {
66 object(Generator)#4 (0) {
72 object(Generator)#4 (0) {
79 object(Generator)#5 (0) {
85 object(Generator)#5 (0) {
H A DReflectionGenerator_in_Generator.phpt30 yield; // Generator !
40 object(Generator)#2 (0) {
63 object(Generator)#5 (0) {
/PHP-7.0/ext/fileinfo/tests/
H A Dmagic3373 # Synthesizer Generator and Kimwitu share their file format
3374 0 string A#S#C#S#S#L#V#3 Synthesizer Generator or Kimwitu data
/PHP-7.0/Zend/
H A Dzend_generators.c767 ZEND_METHOD(Generator, rewind) in ZEND_METHOD() argument
783 ZEND_METHOD(Generator, valid) in ZEND_METHOD() argument
803 ZEND_METHOD(Generator, current) in ZEND_METHOD() argument
827 ZEND_METHOD(Generator, key) in ZEND_METHOD() argument
851 ZEND_METHOD(Generator, next) in ZEND_METHOD() argument
869 ZEND_METHOD(Generator, send) in ZEND_METHOD() argument
907 ZEND_METHOD(Generator, throw) in ZEND_METHOD() argument
946 ZEND_METHOD(Generator, getReturn) in ZEND_METHOD() argument
974 ZEND_METHOD(Generator, __wakeup) in ZEND_METHOD() argument
1107 ZEND_ME(Generator, rewind, arginfo_generator_void, ZEND_ACC_PUBLIC)
[all …]
/PHP-7.0/Zend/tests/return_types/
H A Dgenerators001.phpt6 function test1() : Generator {
25 object(Generator)#%d (%d) {
27 object(Generator)#%d (%d) {
29 object(Generator)#%d (%d) {
H A Dgenerators002.phpt2 Generator return type must be Generator, Iterator or Traversable
11 Fatal error: Generators may only declare a return type of Generator, Iterator or Traversable, StdCl…
H A Dgenerators003.phpt11 function getIterator(): Generator {
22 Fatal error: Declaration of SomeCollection::getIterator(): Generator must be compatible with Collec…
H A Dgenerators004.phpt2 Generator with return type does not fail with empty return
H A Dgenerators005.phpt22 object(Generator)#%d (%d) {
/PHP-7.0/Zend/tests/generators/
H A Dbug71441.phpt2 Bug #71441 (Typehinted Generator with return in try/finally crashes)
9 return 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 Dget_return.phpt2 Generator::getReturn() success cases
40 function gen4() : Generator {
62 function gen6() : Generator {
H A Dmultiple_yield_from_on_same_generator.phpt2 Multiple yield from on a same Generator instance
19 /* Twice a Generator from bar() using yield from on $gen */
H A Dthrow_not_an_exception.phpt2 Generator::throw() with something that's not an exception
18 #1 %s(%d): Generator->throw(Object(stdClass))
H A Dthrow_rethrow.phpt2 Generator::throw() where the generator throws a different exception
31 #1 %s(%d): Generator->throw(Object(RuntimeException))
H A Dyield_from_backtrace.phpt41 #1 Generator->next() called at [%s:%d]
45 #2 Generator->next() called at [%s:%d]
48 #1 Generator->next() called at [%s:%d]
H A Dyield_from_multi_tree_exception.phpt68 #1 %s(%d): gen(Object(Generator), 1)
69 #2 %s(%d): gen(Object(Generator), 2)
70 #3 [internal function]: gen(Object(Generator), 3)
71 #4 %s(%d): Generator->next()
73 ClosedGeneratorException: Generator yielded from aborted, no return value available in %s:%d
75 #0 [internal function]: gen(Object(Generator), 1)
76 #1 %s(%d): Generator->current()
/PHP-7.0/Zend/tests/generators/errors/
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"...')
/PHP-7.0/
H A DNEWS1208 code instead of the Generator yielding from. (Bob)
1665 . Fixed bug #71980 (Decorated/Nested Generator is Uncloseable in Finally).
1859 . Fixed bug #71441 (Typehinted Generator with return in try/finally crashes).
2275 . Fixed bug #70241,#70293 (Skipped assertions affect Generator returns). (Bob)
2420 . Implemented the RFC `Generator Delegation`. (Bob)
H A DREADME.REDIST.BINS124 Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on
/PHP-7.0/sapi/phpdbg/tests/
H A Dgenerator_run.phpt8 prompt> caught Generator exception
18 yield "caught Generator exception";
/PHP-7.0/ext/standard/tests/misc/
H A Dbrowscap.ini2045 [XML Sitemaps Generator*]
2047 Browser="XML Sitemaps Generator" argument
/PHP-7.0/ext/gettext/tests/66265/en_US/LC_MESSAGES/
H A Ddomain.po11 "X-Generator: Poedit 1.6.10\n"

Completed in 224 milliseconds

123