Home
last modified time | relevance | path

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

/PHP-8.1/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 Dbug81477.phpt2 Bug #81477 (LimitIterator + SplFileObject regression in 8.0.1)
13 $limitIter = new LimitIterator($sfo, 1, -1);
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-8.1/Zend/tests/
H A Dbug72767.phpt7 $iterator = new LimitIterator(
/PHP-8.1/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);
520 ZEND_ME(LimitIterator, __construct, arginfo_class_LimitIterator___construct, ZEND_ACC_PUBLIC)
521 ZEND_ME(LimitIterator, rewind, arginfo_class_LimitIterator_rewind, ZEND_ACC_PUBLIC)
522 ZEND_ME(LimitIterator, valid, arginfo_class_LimitIterator_valid, ZEND_ACC_PUBLIC)
523 ZEND_ME(LimitIterator, next, arginfo_class_LimitIterator_next, ZEND_ACC_PUBLIC)
[all …]
H A Dspl_iterators.stub.php181 class LimitIterator extends IteratorIterator class
H A Dspl_iterators.c2224 PHP_METHOD(LimitIterator, __construct) in PHP_METHOD() argument
2230 PHP_METHOD(LimitIterator, rewind) in PHP_METHOD() argument
2244 PHP_METHOD(LimitIterator, valid) in PHP_METHOD() argument
2259 PHP_METHOD(LimitIterator, next) in PHP_METHOD() argument
2276 PHP_METHOD(LimitIterator, seek) in PHP_METHOD() argument
2291 PHP_METHOD(LimitIterator, getPosition) in PHP_METHOD() argument
H A Dphp_spl.c181 SPL_ADD_CLASS(LimitIterator, z_list, sub, allow, ce_flags); \
/PHP-8.1/
H A DNEWS1865 . Fixed bug #81477 (LimitIterator + SplFileObject regression in 8.0.1). (cmb)

Completed in 28 milliseconds