Home
last modified time | relevance | path

Searched refs:CachingIterator (Results 1 – 25 of 26) sorted by relevance

12

/PHP-8.0/ext/spl/tests/
H A Diterator_037.phpt2 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);
107CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T…
110CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T…
113CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T…
116CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T…
[all …]
H A Dspl_caching_iterator_constructor_flags.phpt11 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 Diterator_036.phpt2 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 Diterator_044.phpt2 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 Diterator_046.phpt2 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 Dbug31348.phpt2 Bug #31348 (CachingIterator::rewind() leaks)
8 $ci = new CachingIterator($i);
H A Dspl_iterator_caching_count_basic.phpt9 $i = new CachingIterator($i,CachingIterator::FULL_CACHE);
H A Dbug65387.phpt33 $it2 = new CachingIterator($it, CachingIterator::FULL_CACHE);
39 $it2 = new RecursiveCachingIterator($it, CachingIterator::FULL_CACHE);
H A Diterator_045.phpt2 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 Diterator_027.phpt2 SPL: CachingIterator::FULL_CACHE
10 $it = new CachingIterator($it, CachingIterator::FULL_CACHE);
H A Drecursive_tree_iterator_001.phpt42 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 Drecursive_tree_iterator_006.phpt52 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 Diterator_056.phpt12 class myCachingIterator extends CachingIterator { }
60 CachingIterator::__construct() expects at least 1 argument, 0 given
H A Dspl_iterator_caching_getcache_error.phpt9 $i = new CachingIterator($i);
H A Dspl_iterator_caching_count_error.phpt9 $i = new CachingIterator($i);
H A Dbug54384.phpt62 echo "CachingIterator... ";
63 class CachingIteratorTest extends CachingIterator {
162 CachingIterator... Error (expected)
H A Diterator_003.phpt2 SPL: CachingIterator and __toString()
73 return new CachingIterator($this->students->getIterator(), true);
H A Dspl_cachingiterator___toString_basic.phpt10 $ci = new CachingIterator($ai);
H A Diterator_026.phpt2 SPL: CachingIterator::hasNext()
H A Diterator_001.phpt84 $it = new CachingIterator(new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3));
/PHP-8.0/ext/spl/
H A Dspl_iterators_arginfo.h337 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 Dspl_iterators.stub.php201 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 Dspl_iterators.c2416 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 Ddirectorygraphiterator.inc27 CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD
H A Ddirectorytreeiterator.inc28 CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD

Completed in 61 milliseconds

12