/php-src/ext/spl/tests/ |
H A D | spl_limit_iterator_check_limits.phpt | 2 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 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); 43 ===Infinite/LimitIterator===
|
H A D | bug51119.phpt | 2 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 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_010.phpt | 8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
|
H A D | iterator_056.phpt | 18 class myLimitIterator extends LimitIterator { } 63 LimitIterator::__construct() expects at least 1 argument, 0 given
|
H A D | bug54384.phpt | 53 echo "LimitIterator... "; 54 class LimitIteratorTest extends LimitIterator { 161 LimitIterator... Error (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-src/ext/spl/tests/SplFileObject/ |
H A D | bug81477.phpt | 2 Bug #81477 (LimitIterator + SplFileObject regression in 8.0.1) 13 $limitIter = new LimitIterator($sfo, 1, -1);
|
/php-src/Zend/tests/ |
H A D | bug72767.phpt | 7 $iterator = new LimitIterator(
|
/php-src/ext/spl/ |
H A D | spl_iterators_arginfo.h | 355 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 D | spl_iterators.stub.php | 190 class LimitIterator extends IteratorIterator class
|
H A D | spl_iterators.c | 2167 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 D | php_spl.c | 177 SPL_ADD_CLASS(LimitIterator, z_list, sub, allow, ce_flags); \
|