Home
last modified time | relevance | path

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

12

/php-src/ext/spl/tests/
H A Diterator_037.phpt2 SPL: CachingIterator and __toString
55 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_KEY);
56 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_CURRENT);
57 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_INNER);
64 $it = new CachingIterator($ar, CachingIterator::CALL_TOSTRING);
73 $it = new CachingIterator($ar, CachingIterator::TOSTRING_USE_INNER);
104CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T…
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…
[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
101 Deprecated: CachingIterator::offsetGet(): Passing null to parameter #1 ($key) of type string is dep…
131 CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given
132 CachingIterator::offsetGet(): Argument #1 ($key) must be of type string, stdClass given
[all …]
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 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 Dspl_iterator_caching_count_basic.phpt9 $i = new CachingIterator($i,CachingIterator::FULL_CACHE);
H A Dbug65387.phpt34 $it2 = new CachingIterator($it, CachingIterator::FULL_CACHE);
40 $it2 = new RecursiveCachingIterator($it, CachingIterator::FULL_CACHE);
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 Dbug54384.phpt62 echo "CachingIterator... ";
63 class CachingIteratorTest extends CachingIterator {
162 CachingIterator... Error (expected)
H A Dspl_iterator_caching_getcache_error.phpt9 $i = new CachingIterator($i);
H A Diterator_003.phpt2 SPL: CachingIterator and __toString()
73 return new CachingIterator($this->students->getIterator(), true);
H A Dspl_iterator_caching_count_error.phpt9 $i = new CachingIterator($i);
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-src/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
/php-src/ext/spl/
H A Dspl_iterators_arginfo.h362 ZEND_METHOD(CachingIterator, rewind);
363 ZEND_METHOD(CachingIterator, valid);
364 ZEND_METHOD(CachingIterator, next);
365 ZEND_METHOD(CachingIterator, hasNext);
366 ZEND_METHOD(CachingIterator, __toString);
367 ZEND_METHOD(CachingIterator, getFlags);
368 ZEND_METHOD(CachingIterator, setFlags);
369 ZEND_METHOD(CachingIterator, offsetGet);
370 ZEND_METHOD(CachingIterator, offsetSet);
373 ZEND_METHOD(CachingIterator, getCache);
[all …]
H A Dspl_iterators.stub.php210 class CachingIterator extends IteratorIterator implements ArrayAccess, Countable, Stringable class
225 public function __construct(Iterator $iterator, int $flags = CachingIterator::CALL_TOSTRING) {}
278 class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator
429 int $cachingIteratorFlags = CachingIterator::CATCH_GET_CHILD,
H A Dspl_iterators.c2402 PHP_METHOD(CachingIterator, rewind) in PHP_METHOD() argument
2416 PHP_METHOD(CachingIterator, valid) in PHP_METHOD() argument
2430 PHP_METHOD(CachingIterator, next) in PHP_METHOD() argument
2444 PHP_METHOD(CachingIterator, hasNext) in PHP_METHOD() argument
2458 PHP_METHOD(CachingIterator, __toString) in PHP_METHOD() argument
2490 PHP_METHOD(CachingIterator, offsetSet) in PHP_METHOD() argument
2513 PHP_METHOD(CachingIterator, offsetGet) in PHP_METHOD() argument
2582 PHP_METHOD(CachingIterator, getCache) in PHP_METHOD() argument
2602 PHP_METHOD(CachingIterator, getFlags) in PHP_METHOD() argument
2617 PHP_METHOD(CachingIterator, setFlags) in PHP_METHOD() argument
[all …]

Completed in 49 milliseconds

12