Home
last modified time | relevance | path

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

/PHP-8.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)
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.2/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.2/ext/zend_test/tests/
H A Dzend_internal_class_prop_intersection.phpt15 class I extends EmptyIterator implements Countable {
29 $o->classIntersectionProp = new EmptyIterator();
44 Cannot assign EmptyIterator to property _ZendTestClass::$classIntersectionProp of type Traversable&…
/PHP-8.2/ext/spl/
H A Dspl_iterators_arginfo.h315 ZEND_METHOD(EmptyIterator, current);
316 ZEND_METHOD(EmptyIterator, next);
317 ZEND_METHOD(EmptyIterator, key);
318 ZEND_METHOD(EmptyIterator, valid);
319 ZEND_METHOD(EmptyIterator, rewind);
418 ZEND_ME(EmptyIterator, current, arginfo_class_EmptyIterator_current, ZEND_ACC_PUBLIC)
419 ZEND_ME(EmptyIterator, next, arginfo_class_EmptyIterator_next, ZEND_ACC_PUBLIC)
420 ZEND_ME(EmptyIterator, key, arginfo_class_EmptyIterator_key, ZEND_ACC_PUBLIC)
421 ZEND_ME(EmptyIterator, valid, arginfo_class_EmptyIterator_valid, ZEND_ACC_PUBLIC)
422 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.c2862 PHP_METHOD(EmptyIterator, rewind) in PHP_METHOD() argument
2870 PHP_METHOD(EmptyIterator, valid) in PHP_METHOD() argument
2880 PHP_METHOD(EmptyIterator, key) in PHP_METHOD() argument
2890 PHP_METHOD(EmptyIterator, current) in PHP_METHOD() argument
2900 PHP_METHOD(EmptyIterator, next) in PHP_METHOD() argument
H A Dphp_spl.c172 SPL_ADD_CLASS(EmptyIterator, z_list, sub, allow, ce_flags); \

Completed in 25 milliseconds