/PHP-7.2/ext/spl/tests/ |
H A D | iterator_037.phpt | 2 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 D | iterator_036.phpt | 2 SPL: CachingIterator and __toString and flags = 0 16 test(new CachingIterator($ar, 0)); 21 …CachingIterator::__toString() must not throw an exception, caught BadMethodCallException: CachingI…
|
H A D | spl_caching_iterator_constructor_flags.phpt | 12 $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 D | iterator_044.phpt | 2 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 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); 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 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 | spl_cachingiterator_setFlags_basic.phpt | 11 $ci = new CachingIterator($ai); 16 Warning: CachingIterator::setFlags() expects exactly 1 parameter, %s
|
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 | 44 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 D | recursive_tree_iterator_006.phpt | 54 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 D | iterator_056.phpt | 12 class myCachingIterator extends CachingIterator { } 60 CachingIterator::__construct() expects at least 1 parameter, 0 given
|
H A D | bug54384.phpt | 62 echo "CachingIterator... "; 63 class CachingIteratorTest extends CachingIterator { 161 CachingIterator... exception (expected)
|
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 | 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()
|
/PHP-7.2/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
|
/PHP-7.2/ext/spl/examples/ |
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
|
/PHP-7.2/ext/spl/internal/ |
H A D | cachingiterator.inc | 5 * @brief class CachingIterator 28 class CachingIterator implements OuterIterator 143 …throw new exception('CachingIterator does not fetch string value (see CachingIterator::__construct…
|
H A D | recursivecachingiterator.inc | 18 * @see CachingIterator 20 class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator
|