Home
last modified time | relevance | path

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

/PHP-7.2/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)
17 ===EmptyIterator===
H A Diterator_017.phpt2 SPL: EmptyIterator
6 echo "===EmptyIterator===\n";
8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
17 ===EmptyIterator===
H A Diterator_030.phpt2 SPL: EmptyIterator access
6 $it = new EmptyIterator;
41 Accessing the key of an EmptyIterator
42 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)
38 ===EmptyIterator===
H A Diterator_018.phpt6 echo "===EmptyIterator===\n";
8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val)
38 ===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-7.2/ext/spl/internal/
H A Demptyiterator.inc5 * @brief class EmptyIterator
18 class EmptyIterator implements Iterator
41 throw new Exception('Accessing the value of an EmptyIterator');
50 throw new Exception('Accessing the key of an EmptyIterator');
/PHP-7.2/Zend/tests/return_types/
H A D016.phpt15 var_dump($foo->foo(new \EmptyIterator()));
17 object(EmptyIterator)#%d (0) {
H A D017.phpt10 return new \EmptyIterator();
21 object(EmptyIterator)#%d (%d) {
/PHP-7.2/ext/spl/
H A Dspl_iterators.c3256 SPL_METHOD(EmptyIterator, rewind) in SPL_METHOD() argument
3265 SPL_METHOD(EmptyIterator, valid) in SPL_METHOD() argument
3275 SPL_METHOD(EmptyIterator, key) in SPL_METHOD() argument
3285 SPL_METHOD(EmptyIterator, current) in SPL_METHOD() argument
3295 SPL_METHOD(EmptyIterator, next) in SPL_METHOD() argument
3303 SPL_ME(EmptyIterator, rewind, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3304 SPL_ME(EmptyIterator, valid, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3305 SPL_ME(EmptyIterator, key, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3306 SPL_ME(EmptyIterator, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3797 REGISTER_SPL_STD_CLASS_EX(EmptyIterator, NULL, spl_funcs_EmptyIterator); in PHP_MINIT_FUNCTION()
[all …]
H A Dphp_spl.c189 SPL_ADD_CLASS(EmptyIterator, z_list, sub, allow, ce_flags); \

Completed in 32 milliseconds