/PHP-8.0/ext/spl/tests/ |
H A D | iterator_037.phpt | 2 SPL: CachingIterator and __toString 58 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_KEY); 59 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_CURRENT); 60 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_INNER); 67 $it = new CachingIterator($ar, CachingIterator::CALL_TOSTRING); 76 $it = new CachingIterator($ar, CachingIterator::TOSTRING_USE_INNER); 107 …CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T… 110 …CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T… 113 …CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T… 116 …CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T… [all …]
|
H A D | spl_caching_iterator_constructor_flags.phpt | 11 new CachingIterator($arrayIterator, 0); /* TODO Should this throw? */ 12 new CachingIterator($arrayIterator, CachingIterator::CALL_TOSTRING); 13 new CachingIterator($arrayIterator, CachingIterator::TOSTRING_USE_KEY); 14 new CachingIterator($arrayIterator, CachingIterator::TOSTRING_USE_CURRENT); 15 new CachingIterator($arrayIterator, CachingIterator::TOSTRING_USE_INNER); 17 $test = new CachingIterator($arrayIterator, 3); // this throws an exception 25 CachingIterator::__construct(): Argument #2 ($flags) must contain only one of CachingIterator::CALL…
|
H A D | iterator_036.phpt | 2 SPL: CachingIterator and __toString and flags = 0 16 test(new CachingIterator($ar, 0)); 21 …tal error: Uncaught BadMethodCallException: CachingIterator does not fetch string value (see Cachi… 23 #0 %s(%d): CachingIterator->__toString() 24 #1 %s(%d): test(Object(CachingIterator))
|
H A D | iterator_044.phpt | 2 SPL: CachingIterator and offsetGet/Exists using flag FULL_CACHE 14 class MyCachingIterator extends CachingIterator 61 $it = new MyCachingIterator(new ArrayIterator(array(0, 'foo'=>1, 2, 'bar'=>3, 4)), CachingIterator:… 75 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct) 76 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct) 86 CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given 87 CachingIterator::offsetGet(): Argument #1 ($key) must be of type string, stdClass given 127 CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given 128 CachingIterator::offsetGet(): Argument #1 ($key) must be of type string, stdClass given
|
H A D | iterator_046.phpt | 2 SPL: CachingIterator and __toString using bypassed string keys 14 class MyCachingIterator extends CachingIterator 37 $it = new MyCachingIterator(new ArrayIterator(array(0, 'foo'=>1, 'bar'=>2)), CachingIterator::TOSTR…
|
H A D | bug31348.phpt | 2 Bug #31348 (CachingIterator::rewind() leaks) 8 $ci = new CachingIterator($i);
|
H A D | spl_iterator_caching_count_basic.phpt | 9 $i = new CachingIterator($i,CachingIterator::FULL_CACHE);
|
H A D | bug65387.phpt | 33 $it2 = new CachingIterator($it, CachingIterator::FULL_CACHE); 39 $it2 = new RecursiveCachingIterator($it, CachingIterator::FULL_CACHE);
|
H A D | iterator_045.phpt | 2 SPL: CachingIterator and offsetSet/Unset, getCache using flag FULL_CACHE 14 class MyCachingIterator extends CachingIterator 74 $it = new MyCachingIterator(new ArrayIterator(array(0, 1, 2, 3)), CachingIterator::FULL_CACHE); 92 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct) 93 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct)
|
H A D | iterator_027.phpt | 2 SPL: CachingIterator::FULL_CACHE 10 $it = new CachingIterator($it, CachingIterator::FULL_CACHE);
|
H A D | recursive_tree_iterator_001.phpt | 42 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n"; 43 foreach(new RecursiveTreeIterator($it, 0, CachingIterator::CATCH_GET_CHILD) as $k => $v) { 101 -- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --
|
H A D | recursive_tree_iterator_006.phpt | 52 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n"; 53 foreach(new RecursiveTreeIterator($it, 0, CachingIterator::CATCH_GET_CHILD) as $k => $v) { 111 -- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --
|
H A D | iterator_056.phpt | 12 class myCachingIterator extends CachingIterator { } 60 CachingIterator::__construct() expects at least 1 argument, 0 given
|
H A D | spl_iterator_caching_getcache_error.phpt | 9 $i = new CachingIterator($i);
|
H A D | spl_iterator_caching_count_error.phpt | 9 $i = new CachingIterator($i);
|
H A D | bug54384.phpt | 62 echo "CachingIterator... "; 63 class CachingIteratorTest extends CachingIterator { 162 CachingIterator... Error (expected)
|
H A D | iterator_003.phpt | 2 SPL: CachingIterator and __toString() 73 return new CachingIterator($this->students->getIterator(), true);
|
H A D | spl_cachingiterator___toString_basic.phpt | 10 $ci = new CachingIterator($ai);
|
H A D | iterator_026.phpt | 2 SPL: CachingIterator::hasNext()
|
H A D | iterator_001.phpt | 84 $it = new CachingIterator(new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3));
|
/PHP-8.0/ext/spl/ |
H A D | spl_iterators_arginfo.h | 337 ZEND_METHOD(CachingIterator, rewind); 338 ZEND_METHOD(CachingIterator, valid); 339 ZEND_METHOD(CachingIterator, next); 340 ZEND_METHOD(CachingIterator, hasNext); 341 ZEND_METHOD(CachingIterator, __toString); 342 ZEND_METHOD(CachingIterator, getFlags); 343 ZEND_METHOD(CachingIterator, setFlags); 344 ZEND_METHOD(CachingIterator, offsetGet); 345 ZEND_METHOD(CachingIterator, offsetSet); 348 ZEND_METHOD(CachingIterator, getCache); [all …]
|
H A D | spl_iterators.stub.php | 201 class CachingIterator extends IteratorIterator implements ArrayAccess, Countable class 203 public function __construct(Iterator $iterator, int $flags = CachingIterator::CALL_TOSTRING) {} 256 class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator 373 int $cachingIteratorFlags = CachingIterator::CATCH_GET_CHILD,
|
H A D | spl_iterators.c | 2416 PHP_METHOD(CachingIterator, rewind) in PHP_METHOD() argument 2430 PHP_METHOD(CachingIterator, valid) in PHP_METHOD() argument 2444 PHP_METHOD(CachingIterator, next) in PHP_METHOD() argument 2458 PHP_METHOD(CachingIterator, hasNext) in PHP_METHOD() argument 2472 PHP_METHOD(CachingIterator, __toString) in PHP_METHOD() argument 2504 PHP_METHOD(CachingIterator, offsetSet) in PHP_METHOD() argument 2527 PHP_METHOD(CachingIterator, offsetGet) in PHP_METHOD() argument 2596 PHP_METHOD(CachingIterator, getCache) in PHP_METHOD() argument 2616 PHP_METHOD(CachingIterator, getFlags) in PHP_METHOD() argument 2631 PHP_METHOD(CachingIterator, setFlags) in PHP_METHOD() argument [all …]
|
/PHP-8.0/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 27 CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD
|
H A D | directorytreeiterator.inc | 28 CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD
|