/php-src/ext/spl/tests/ |
H A D | iterator_037.phpt | 2 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); 104 …CachingIterator::setFlags(): Argument #1 ($flags) must contain only one of CachingIterator::CALL_T… 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… [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 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 D | gh16574.phpt | 8 $i = new CachingIterator($i, CachingIterator::FULL_CACHE); 12 Fatal error: Uncaught Error: Call to undefined method CachingIterator::doesnotexist() in %s:%d
|
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 | 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 | bug65387.phpt | 34 $it2 = new CachingIterator($it, CachingIterator::FULL_CACHE); 40 $it2 = new RecursiveCachingIterator($it, CachingIterator::FULL_CACHE);
|
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 | bug54384.phpt | 62 echo "CachingIterator... "; 63 class CachingIteratorTest extends CachingIterator { 162 CachingIterator... Error (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-src/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-src/ext/spl/ |
H A D | spl_iterators_arginfo.h | 362 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 D | spl_iterators.stub.php | 210 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 428 int $cachingIteratorFlags = CachingIterator::CATCH_GET_CHILD,
|
H A D | spl_iterators.c | 2336 PHP_METHOD(CachingIterator, rewind) in PHP_METHOD() argument 2348 PHP_METHOD(CachingIterator, valid) in PHP_METHOD() argument 2360 PHP_METHOD(CachingIterator, next) in PHP_METHOD() argument 2372 PHP_METHOD(CachingIterator, hasNext) in PHP_METHOD() argument 2384 PHP_METHOD(CachingIterator, __toString) in PHP_METHOD() argument 2414 PHP_METHOD(CachingIterator, offsetSet) in PHP_METHOD() argument 2437 PHP_METHOD(CachingIterator, offsetGet) in PHP_METHOD() argument 2506 PHP_METHOD(CachingIterator, getCache) in PHP_METHOD() argument 2524 PHP_METHOD(CachingIterator, getFlags) in PHP_METHOD() argument 2537 PHP_METHOD(CachingIterator, setFlags) in PHP_METHOD() argument [all …]
|