/PHP-7.2/ext/spl/tests/ |
H A D | iterator_011.phpt | 8 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 D | iterator_018.phpt | 8 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 D | spl_limit_iterator_check_limits.phpt | 2 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 D | limititerator_seek.phpt | 2 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 D | bug51119.phpt | 2 SPL: LimitIterator zero is valid offset 10 $limitIterator = new LimitIterator($arrayIterator, 0); 19 $limitIterator = new LimitIterator($arrayIterator, -1);
|
H A D | bug49723.phpt | 2 LimitIterator: do not seek if not needed 8 $lit = new LimitIterator($it, 0, 5);
|
H A D | array_011.phpt | 2 SPL: ArrayIterator, LimitIterator and string keys 8 foreach (new LimitIterator(new ArrayIterator($a), 1, 3) as $k => $v)
|
H A D | iterator_032.phpt | 2 SPL: LimitIterator::getPosition() 6 $it = new LimitIterator(new ArrayIterator(array(1,2,3,4)), 1, 2);
|
H A D | iterator_004.phpt | 61 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 D | iterator_056.phpt | 18 class myLimitIterator extends LimitIterator { } 63 LimitIterator::__construct() expects at least 1 parameter, 0 given
|
H A D | iterator_010.phpt | 8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
|
H A D | iterator_017.phpt | 8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
|
H A D | bug54384.phpt | 53 echo "LimitIterator... "; 54 class LimitIteratorTest extends LimitIterator { 160 LimitIterator... exception (expected)
|
H A D | iterator_039.phpt | 2 SPL: LimitIterator and backward seeking 48 $it = new LimitIterator(new NumericArrayIterator(array(12, 25, 42, 56)));
|
H A D | iterator_001.phpt | 67 $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 D | directorytree.php | 32 foreach(new LimitIterator(new DirectoryTreeIterator($argv[1]), @$argv[2], $length) as $key=>$file) {
|
/PHP-7.2/Zend/tests/ |
H A D | bug72767.phpt | 7 $iterator = new LimitIterator(
|
/PHP-7.2/ext/spl/internal/ |
H A D | infiniteiterator.inc | 26 $limit = new LimitIterator($infinite, 0, 5);
|
H A D | seekableiterator.inc | 18 * to seek on an iterator LimitIterator can use this to efficiently rewind
|
H A D | limititerator.inc | 5 * @brief class LimitIterator 24 class LimitIterator implements OuterIterator
|
/PHP-7.2/ext/spl/ |
H A D | spl_iterators.c | 2529 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 D | php_spl.c | 197 SPL_ADD_CLASS(LimitIterator, z_list, sub, allow, ce_flags); \
|