Home
last modified time | relevance | path

Searched refs:LimitIterator (Results 1 – 18 of 18) sorted by relevance

/php-src/ext/spl/tests/
H A Dspl_limit_iterator_check_limits.phpt2 SPL: LimitIterator check limits are valid
12 $limitIterator = new LimitIterator($arrayIterator, -1);
18 $limitIterator = new LimitIterator($arrayIterator, 0, -2);
23 $limitIterator = new LimitIterator($arrayIterator, 0, -1);
27 LimitIterator::__construct(): Argument #2 ($offset) must be greater than or equal to 0
28 LimitIterator::__construct(): Argument #3 ($limit) must be greater than or equal to -1
H A Diterator_011.phpt8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val)
17 $it = new LimitIterator($it, 2, 5);
23 echo "===Infinite/LimitIterator===\n";
26 $it = new LimitIterator($it, 1, 2);
28 $it = new LimitIterator($it, 2, 5);
43 ===Infinite/LimitIterator===
H A Dbug51119.phpt2 SPL: LimitIterator zero is valid offset
9 $limitIterator = new LimitIterator($arrayIterator, 0);
15 $limitIterator = new LimitIterator($arrayIterator, -1);
25 LimitIterator::__construct(): Argument #2 ($offset) must be greater than or equal to 0
H A Dbug49723.phpt2 LimitIterator: do not seek if not needed
8 $lit = new LimitIterator($it, 0, 5);
H A Darray_011.phpt2 SPL: ArrayIterator, LimitIterator and string keys
8 foreach (new LimitIterator(new ArrayIterator($a), 1, 3) as $k => $v)
H A Diterator_032.phpt2 SPL: LimitIterator::getPosition()
6 $it = new LimitIterator(new ArrayIterator(array(1,2,3,4)), 1, 2);
H A Diterator_004.phpt61 foreach (new LimitIterator(new NumericArrayIterator($a), 1, 3) as $v)
68 foreach(new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3) as $v)
75 $l = new LimitIterator(new SeekableNumericArrayIterator($a));
H A Diterator_010.phpt8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
H A Diterator_056.phpt18 class myLimitIterator extends LimitIterator { }
63 LimitIterator::__construct() expects at least 1 argument, 0 given
H A Dbug54384.phpt53 echo "LimitIterator... ";
54 class LimitIteratorTest extends LimitIterator {
161 LimitIterator... Error (expected)
H A Diterator_039.phpt2 SPL: LimitIterator and backward seeking
48 $it = new LimitIterator(new NumericArrayIterator(array(12, 25, 42, 56)));
H A Diterator_001.phpt67 $it = new LimitIterator(new NumericArrayIterator($a), 1, 3);
75 $it = new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3);
84 $it = new CachingIterator(new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3));
/php-src/ext/spl/tests/SplFileObject/
H A Dbug81477.phpt2 Bug #81477 (LimitIterator + SplFileObject regression in 8.0.1)
13 $limitIter = new LimitIterator($sfo, 1, -1);
/php-src/Zend/tests/
H A Dbug72767.phpt7 $iterator = new LimitIterator(
/php-src/ext/spl/
H A Dspl_iterators_arginfo.h355 ZEND_METHOD(LimitIterator, __construct);
356 ZEND_METHOD(LimitIterator, rewind);
357 ZEND_METHOD(LimitIterator, valid);
358 ZEND_METHOD(LimitIterator, next);
359 ZEND_METHOD(LimitIterator, seek);
360 ZEND_METHOD(LimitIterator, getPosition);
508 ZEND_ME(LimitIterator, __construct, arginfo_class_LimitIterator___construct, ZEND_ACC_PUBLIC)
509 ZEND_ME(LimitIterator, rewind, arginfo_class_LimitIterator_rewind, ZEND_ACC_PUBLIC)
510 ZEND_ME(LimitIterator, valid, arginfo_class_LimitIterator_valid, ZEND_ACC_PUBLIC)
511 ZEND_ME(LimitIterator, next, arginfo_class_LimitIterator_next, ZEND_ACC_PUBLIC)
[all …]
H A Dspl_iterators.stub.php190 class LimitIterator extends IteratorIterator class
H A Dspl_iterators.c2167 PHP_METHOD(LimitIterator, __construct) in PHP_METHOD() argument
2173 PHP_METHOD(LimitIterator, rewind) in PHP_METHOD() argument
2185 PHP_METHOD(LimitIterator, valid) in PHP_METHOD() argument
2198 PHP_METHOD(LimitIterator, next) in PHP_METHOD() argument
2213 PHP_METHOD(LimitIterator, seek) in PHP_METHOD() argument
2228 PHP_METHOD(LimitIterator, getPosition) in PHP_METHOD() argument
H A Dphp_spl.c177 SPL_ADD_CLASS(LimitIterator, z_list, sub, allow, ce_flags); \

Completed in 27 milliseconds