Home
last modified time | relevance | path

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

/php-src/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-src/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-src/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-src/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);
416 ZEND_ME(EmptyIterator, current, arginfo_class_EmptyIterator_current, ZEND_ACC_PUBLIC)
417 ZEND_ME(EmptyIterator, next, arginfo_class_EmptyIterator_next, ZEND_ACC_PUBLIC)
418 ZEND_ME(EmptyIterator, key, arginfo_class_EmptyIterator_key, ZEND_ACC_PUBLIC)
419 ZEND_ME(EmptyIterator, valid, arginfo_class_EmptyIterator_valid, ZEND_ACC_PUBLIC)
420 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.c2821 PHP_METHOD(EmptyIterator, rewind) in PHP_METHOD() argument
2829 PHP_METHOD(EmptyIterator, valid) in PHP_METHOD() argument
2839 PHP_METHOD(EmptyIterator, key) in PHP_METHOD() argument
2849 PHP_METHOD(EmptyIterator, current) in PHP_METHOD() argument
2859 PHP_METHOD(EmptyIterator, next) in PHP_METHOD() argument
H A Dphp_spl.c171 SPL_ADD_CLASS(EmptyIterator, z_list, sub, allow, ce_flags); \

Completed in 43 milliseconds