Home
last modified time | relevance | path

Searched refs:ArrayIterator (Results 26 – 50 of 176) sorted by relevance

12345678

/PHP-8.2/ext/spl/tests/
H A Diterator_050.phpt18 $ar = new ArrayIterator(array('1','1,2','1,2,3','',NULL,array(),'FooBar',',',',,'));
68 object(ArrayIterator)#%d (1) {
69 %s"storage"%s"ArrayIterator":private]=>
H A Diterator_051.phpt18 $ar = new ArrayIterator(array('1'=>0,'1,2'=>1,'1,2,3'=>2,0=>3,'FooBar'=>4,','=>5,',,'=>6));
75 object(ArrayIterator)#%d (1) {
76 ["storage":"ArrayIterator":private]=>
H A Dbug71153.phpt2 Bug #71153: Performance Degradation in ArrayIterator with large arrays
9 foreach (new ArrayIterator([]) as $v) {}
H A Dbug62616.phpt2 Bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
5 $ai = new ArrayIterator(array(0,1));
H A Dbug71412.phpt2 Bug#71412 ArrayIterator reflection parameter info
5 echo (new ReflectionMethod('ArrayIterator', '__construct'));
H A Drecursive_tree_iterator_003.phpt6 new RecursiveTreeIterator(new ArrayIterator(array()));
12 …ator::__construct(): Argument #1 ($iterator) must be of type RecursiveIterator, ArrayIterator given
H A Darray_022.phpt25 ==ArrayIterator===
28 class MyArrayIterator extends ArrayIterator
58 ==ArrayIterator===
H A Dbug73471.phpt7 $events = new \ArrayIterator([1,2,3,4,5]);
8 $events2 = new \ArrayIterator(['a', 'b', 'c']);
H A DarrayObject_setIteratorClass_error1.phpt46 …ass(): Argument #1 ($iteratorClass) must be a class name derived from ArrayIterator, nonExistentCl…
47 …ass(): Argument #1 ($iteratorClass) must be a class name derived from ArrayIterator, stdClass give…
48 …uct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIterator, nonExistentCl…
49 …uct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIterator, stdClass give…
H A Dbug75173.phpt7 $it->append(new ArrayIterator(['foo']));
13 $it->append(new ArrayIterator(['bar']));
H A Darray_006.phpt2 SPL: ArrayIterator without ArrayObject
11 $obj = new ArrayIterator($arr);
H A Darray_016.phpt2 SPL: ArrayIterator/Object and IteratorIterator
6 $it = new ArrayIterator(range(0,3));
H A Dspl_006.phpt7 $it->append(new ArrayIterator(array(1,2)));
8 $it->append(new ArrayIterator(array(2,3)));
H A Dbug71028.phpt2 Bug #71028 (Undefined index with ArrayIterator)
9 $a = new ArrayIterator;
H A Diterator_029.phpt8 foreach(new RegexIterator(new ArrayIterator($ar), "/2/") as $k => $v)
17 foreach(new RegexIterator(new ArrayIterator($ar), "/2/", 0, RegexIterator::USE_KEY) as $k => $v)
H A Darray_009a.phpt2 SPL: ArrayIterator implementing RecursiveIterator
6 class MyRecursiveArrayIterator extends ArrayIterator implements RecursiveIterator
H A Dbug67539.phpt2 Bug #67539 (ArrayIterator use-after-free due to object change during sorting)
6 $it = new ArrayIterator(array_fill(0,2,'X'), 1 );
H A Dbug75155.phpt6 $array_a = new ArrayIterator(array('a', 'b', 'c'));
7 $array_b = new ArrayIterator(array('d', 'e', 'f'));
H A DCallbackFilterIteratorTest-002.phpt24 new CallbackFilterIterator(new ArrayIterator(array()), null);
30 new CallbackFilterIterator(new ArrayIterator(array()), array());
35 $it = new CallbackFilterIterator(new ArrayIterator(array(1)), function() {
H A Diterator_057.phpt2 SPL: ArrayIterator::__construct(void)
11 class myArrayIterator extends ArrayIterator {
H A Dbug55157_variation.phpt2 Bug #55157: ArrayIterator always skips the second element in the array when calling offsetUnset()
9 $numIt = new ArrayIterator($nums);
H A Dbug75242.phpt6 class Foo extends ArrayIterator { }
10 $r = new ReflectionClass(ArrayIterator::class);
/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_113.phpt2 Typed property type coercion through ArrayIterator
11 return new ArrayIterator($this);
/PHP-8.2/ext/standard/tests/serialize/
H A Dbug45706.phpt2 Bug #45706 Unserialization of classes derived from ArrayIterator fails
5 class Foo1 extends ArrayIterator
/PHP-8.2/Zend/tests/
H A Dbug46381.phpt8 return ArrayIterator::current();
17 Fatal error: Uncaught Error: Non-static method ArrayIterator::current() cannot be called statically…

Completed in 30 milliseconds

12345678