Home
last modified time | relevance | path

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

12

/PHP-7.2/ext/spl/tests/
H A Diterator_037.phpt2 SPL: CachingIterator and __toString
9 $it = new CachingIterator($ar, 0);
57 test($ar, CachingIterator::CALL_TOSTRING);
58 test($ar, CachingIterator::TOSTRING_USE_KEY);
64 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_KEY);
65 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_CURRENT);
66 test($ar, CachingIterator::CALL_TOSTRING | CachingIterator::TOSTRING_USE_INNER);
67 test($ar, CachingIterator::TOSTRING_USE_KEY | CachingIterator::TOSTRING_USE_CURRENT);
68 test($ar, CachingIterator::TOSTRING_USE_KEY | CachingIterator::TOSTRING_USE_INNER);
73 $it = new CachingIterator($ar, CachingIterator::CALL_TOSTRING);
[all …]
H A Diterator_036.phpt2 SPL: CachingIterator and __toString and flags = 0
16 test(new CachingIterator($ar, 0));
21CachingIterator::__toString() must not throw an exception, caught BadMethodCallException: CachingI…
H A Dspl_caching_iterator_constructor_flags.phpt12 $test = new CachingIterator($arrayIterator, 0);
13 $test = new CachingIterator($arrayIterator, 1);
14 $test = new CachingIterator($arrayIterator, 2);
15 $test = new CachingIterator($arrayIterator, 3); // this throws an exception
H A Diterator_044.phpt2 SPL: CachingIterator and offsetGet/Exists using flag FULL_CACHE
14 class MyCachingIterator extends CachingIterator
53 $it = new MyCachingIterator(new ArrayIterator(array(0, 'foo'=>1, 2, 'bar'=>3, 4)), CachingIterator:…
72 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct)
73 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct)
75 Warning: CachingIterator::offsetExists() expects exactly 1 parameter, 0 given in %siterator_044.php…
78 Warning: CachingIterator::offsetGet() expects exactly 1 parameter, 0 given in %siterator_044.php on…
90 Warning: CachingIterator::offsetExists() expects parameter 1 to be string, object given in %siterat…
93 Warning: CachingIterator::offsetGet() expects parameter 1 to be string, object given in %siterator_…
135 Warning: CachingIterator::offsetExists() expects parameter 1 to be string, object given in %siterat…
[all …]
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);
98 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct)
99 Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct)
101 Warning: CachingIterator::offsetSet() expects exactly 2 parameters, 0 given in %siterator_045.php o…
104 Warning: CachingIterator::offsetSet() expects exactly 2 parameters, 1 given in %siterator_045.php o…
107 Warning: CachingIterator::offsetUnset() expects exactly 1 parameter, 0 given in %siterator_045.php …
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 Dspl_cachingiterator_setFlags_basic.phpt11 $ci = new CachingIterator($ai);
16 Warning: CachingIterator::setFlags() expects exactly 1 parameter, %s
H A Diterator_027.phpt2 SPL: CachingIterator::FULL_CACHE
10 $it = new CachingIterator($it, CachingIterator::FULL_CACHE);
H A Drecursive_tree_iterator_001.phpt44 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n";
45 foreach(new RecursiveTreeIterator($it, 0, CachingIterator::CATCH_GET_CHILD) as $k => $v) {
92 -- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --
H A Drecursive_tree_iterator_006.phpt54 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n";
55 foreach(new RecursiveTreeIterator($it, 0, CachingIterator::CATCH_GET_CHILD) as $k => $v) {
102 -- 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 parameter, 0 given
H A Dbug54384.phpt62 echo "CachingIterator... ";
63 class CachingIteratorTest extends CachingIterator {
161 CachingIterator... exception (expected)
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 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()
/PHP-7.2/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-7.2/ext/spl/examples/
H A Ddirectorygraphiterator.inc27 CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD
H A Ddirectorytreeiterator.inc28 CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD
/PHP-7.2/ext/spl/internal/
H A Dcachingiterator.inc5 * @brief class CachingIterator
28 class CachingIterator implements OuterIterator
143 …throw new exception('CachingIterator does not fetch string value (see CachingIterator::__construct…
H A Drecursivecachingiterator.inc18 * @see CachingIterator
20 class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator

Completed in 18 milliseconds

12