Home
last modified time | relevance | path

Searched refs:EmptyIterator (Results 1 – 11 of 11) sorted by relevance

/PHP-8.1/ext/spl/tests/
H A Diterator_010.phpt2 SPL: EmptyIterator
6 echo "===EmptyIterator===\n";
8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
15 ===EmptyIterator===
H A Diterator_030.phpt2 SPL: EmptyIterator access
6 $it = new EmptyIterator;
39 Accessing the key of an EmptyIterator
40 Accessing the value of an EmptyIterator
H A Diterator_011.phpt6 echo "===EmptyIterator===\n";
8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val)
36 ===EmptyIterator===
H A Dbug70053.phpt8 $mit ->attachIterator(new EmptyIterator(), "2");
9 $mit ->attachIterator(new EmptyIterator(), 2);
H A Diterator_009.phpt2 SPL: EmptyIterator
6 class EmptyIteratorEx extends EmptyIterator
/PHP-8.1/Zend/tests/return_types/
H A D016.phpt15 var_dump($foo->foo(new \EmptyIterator()));
18 object(EmptyIterator)#%d (0) {
H A D017.phpt10 return new \EmptyIterator();
22 object(EmptyIterator)#%d (%d) {
/PHP-8.1/ext/spl/
H A Dspl_iterators_arginfo.h314 ZEND_METHOD(EmptyIterator, current);
315 ZEND_METHOD(EmptyIterator, next);
316 ZEND_METHOD(EmptyIterator, key);
317 ZEND_METHOD(EmptyIterator, valid);
318 ZEND_METHOD(EmptyIterator, rewind);
417 ZEND_ME(EmptyIterator, current, arginfo_class_EmptyIterator_current, ZEND_ACC_PUBLIC)
418 ZEND_ME(EmptyIterator, next, arginfo_class_EmptyIterator_next, ZEND_ACC_PUBLIC)
419 ZEND_ME(EmptyIterator, key, arginfo_class_EmptyIterator_key, ZEND_ACC_PUBLIC)
420 ZEND_ME(EmptyIterator, valid, arginfo_class_EmptyIterator_valid, ZEND_ACC_PUBLIC)
421 ZEND_ME(EmptyIterator, rewind, arginfo_class_EmptyIterator_rewind, ZEND_ACC_PUBLIC)
H A Dspl_iterators.stub.php5 class EmptyIterator implements Iterator class
H A Dspl_iterators.c2809 PHP_METHOD(EmptyIterator, rewind) in PHP_METHOD() argument
2817 PHP_METHOD(EmptyIterator, valid) in PHP_METHOD() argument
2827 PHP_METHOD(EmptyIterator, key) in PHP_METHOD() argument
2837 PHP_METHOD(EmptyIterator, current) in PHP_METHOD() argument
2847 PHP_METHOD(EmptyIterator, next) in PHP_METHOD() argument
H A Dphp_spl.c173 SPL_ADD_CLASS(EmptyIterator, z_list, sub, allow, ce_flags); \

Completed in 42 milliseconds