Home
last modified time | relevance | path

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

/PHP-7.2/ext/spl/tests/
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);
45 ===Infinite/LimitIterator===
H A Diterator_018.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);
45 ===Infinite/LimitIterator===
H A Dspl_limit_iterator_check_limits.phpt2 SPL: LimitIterator check limits are valid
12 $limitIterator = new LimitIterator($arrayIterator, -1);
19 $limitIterator = new LimitIterator($arrayIterator, 0, -2);
25 $limitIterator = new LimitIterator($arrayIterator, 0, -1);
H A Dlimititerator_seek.phpt2 SPL: LimitIterator seek() arguments
10 $lt = new LimitIterator(new ArrayIterator($a));
16 Warning: LimitIterator::seek() expects exactly 1 parameter, 2 given in %s on line %d
H A Dbug51119.phpt2 SPL: LimitIterator zero is valid offset
10 $limitIterator = new LimitIterator($arrayIterator, 0);
19 $limitIterator = new LimitIterator($arrayIterator, -1);
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_056.phpt18 class myLimitIterator extends LimitIterator { }
63 LimitIterator::__construct() expects at least 1 parameter, 0 given
H A Diterator_010.phpt8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
H A Diterator_017.phpt8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
H A Dbug54384.phpt53 echo "LimitIterator... ";
54 class LimitIteratorTest extends LimitIterator {
160 LimitIterator... exception (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-7.2/ext/spl/examples/
H A Ddirectorytree.php32 foreach(new LimitIterator(new DirectoryTreeIterator($argv[1]), @$argv[2], $length) as $key=>$file) {
/PHP-7.2/Zend/tests/
H A Dbug72767.phpt7 $iterator = new LimitIterator(
/PHP-7.2/ext/spl/internal/
H A Dinfiniteiterator.inc26 $limit = new LimitIterator($infinite, 0, 5);
H A Dseekableiterator.inc18 * to seek on an iterator LimitIterator can use this to efficiently rewind
H A Dlimititerator.inc5 * @brief class LimitIterator
24 class LimitIterator implements OuterIterator
/PHP-7.2/ext/spl/
H A Dspl_iterators.c2529 SPL_METHOD(LimitIterator, __construct) in SPL_METHOD() argument
2536 SPL_METHOD(LimitIterator, rewind) in SPL_METHOD() argument
2547 SPL_METHOD(LimitIterator, valid) in SPL_METHOD() argument
2559 SPL_METHOD(LimitIterator, next) in SPL_METHOD() argument
2573 SPL_METHOD(LimitIterator, seek) in SPL_METHOD() argument
2589 SPL_METHOD(LimitIterator, getPosition) in SPL_METHOD() argument
2617 SPL_ME(LimitIterator, rewind, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
2618 SPL_ME(LimitIterator, valid, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
2621 SPL_ME(LimitIterator, next, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
2622 SPL_ME(LimitIterator, seek, arginfo_limit_it_seek, ZEND_ACC_PUBLIC)
[all …]
H A Dphp_spl.c197 SPL_ADD_CLASS(LimitIterator, z_list, sub, allow, ce_flags); \

Completed in 48 milliseconds