Home
last modified time | relevance | path

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

/PHP-8.0/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.0/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.0/ext/spl/
H A Dspl_iterators_arginfo.h289 ZEND_METHOD(EmptyIterator, current);
290 ZEND_METHOD(EmptyIterator, next);
291 ZEND_METHOD(EmptyIterator, key);
292 ZEND_METHOD(EmptyIterator, valid);
293 ZEND_METHOD(EmptyIterator, rewind);
392 ZEND_ME(EmptyIterator, current, arginfo_class_EmptyIterator_current, ZEND_ACC_PUBLIC)
393 ZEND_ME(EmptyIterator, next, arginfo_class_EmptyIterator_next, ZEND_ACC_PUBLIC)
394 ZEND_ME(EmptyIterator, key, arginfo_class_EmptyIterator_key, ZEND_ACC_PUBLIC)
395 ZEND_ME(EmptyIterator, valid, arginfo_class_EmptyIterator_valid, ZEND_ACC_PUBLIC)
396 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.c2835 PHP_METHOD(EmptyIterator, rewind) in PHP_METHOD() argument
2843 PHP_METHOD(EmptyIterator, valid) in PHP_METHOD() argument
2853 PHP_METHOD(EmptyIterator, key) in PHP_METHOD() argument
2863 PHP_METHOD(EmptyIterator, current) in PHP_METHOD() argument
2873 PHP_METHOD(EmptyIterator, next) in PHP_METHOD() argument
3321 REGISTER_SPL_STD_CLASS_EX(EmptyIterator, NULL, class_EmptyIterator_methods); in PHP_MINIT_FUNCTION()
3322 REGISTER_SPL_ITERATOR(EmptyIterator); in PHP_MINIT_FUNCTION()
H A Dphp_spl.c180 SPL_ADD_CLASS(EmptyIterator, z_list, sub, allow, ce_flags); \

Completed in 30 milliseconds