Home
last modified time | relevance | path

Searched refs:ArrayIterator (Results 1 – 25 of 153) sorted by relevance

1234567

/PHP-7.3/ext/spl/tests/
H A Diterator_042.phpt2 SPL: AppendIterator and its ArrayIterator
21 $it->append(new ArrayIterator(array(1)));
45 object(ArrayIterator)#%d (1) {
46 %s"storage"%s"ArrayIterator":private]=>
49 object(ArrayIterator)#%d (1) {
57 object(ArrayIterator)#%d (1) {
68 object(ArrayIterator)#%d (1) {
69 %s"storage"%s"ArrayIterator":private]=>
72 object(ArrayIterator)#%d (1) {
80 object(ArrayIterator)#%d (1) {
[all …]
H A Darray_020.phpt2 SPL: ArrayIterator overloading
6 class ArrayIteratorEx extends ArrayIterator
11 ArrayIterator::rewind();
17 return ArrayIterator::valid();
23 return ArrayIterator::key();
29 return ArrayIterator::current();
35 return ArrayIterator::next();
H A Diterator_049.phpt2 SPL: ArrayIterator with NULL key
6 $ar = new ArrayIterator(array(NULL=>NULL));
14 object(ArrayIterator)#%d (1) {
15 ["storage":"ArrayIterator":private]=>
H A Dbug42654.phpt27 ["storage":"ArrayIterator":private]=>
46 ["storage":"ArrayIterator":private]=>
66 ["storage":"ArrayIterator":private]=>
78 ["storage":"ArrayIterator":private]=>
91 ["storage":"ArrayIterator":private]=>
98 ["storage":"ArrayIterator":private]=>
106 ["storage":"ArrayIterator":private]=>
125 ["storage":"ArrayIterator":private]=>
H A Diterator_049b.phpt2 SPL: ArrayIterator with NULL key
6 $ar = new ArrayIterator(array(
21 object(ArrayIterator)#%d (1) {
22 ["storage":"ArrayIterator":private]=>
H A DarrayObject_exchangeArray_basic2.phpt24 echo "\n--> exchangeArray(ArrayIterator):\n";
25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element'));
70 --> exchangeArray(ArrayIterator):
71 string(21) "ArrayIterator element"
74 object(ArrayIterator)#%d (1) {
75 ["storage":"ArrayIterator":private]=>
78 string(21) "ArrayIterator element"
H A Dbug36941.phpt2 Bug #36941 (ArrayIterator does not clone itself)
17 ===ArrayIterator===
19 $a = new ArrayIterator();
39 ===ArrayIterator===
H A DarrayObject_getIteratorClass_basic1.phpt5 class MyIterator extends ArrayIterator {
52 echo "\n\n--> Access using ArrayIterator:\n";
53 var_dump($ao->setIteratorClass("ArrayIterator"));
65 ["storage":"ArrayIterator":private]=>
97 --> Access using ArrayIterator:
99 string(13) "ArrayIterator"
100 object(ArrayIterator)#3 (1) {
101 ["storage":"ArrayIterator":private]=>
H A DarrayObject_count_basic1.phpt2 SPL: ArrayObject::count() and ArrayIterator::count() basic functionality.
32 ==ArrayIterator==
34 class D extends ArrayIterator {
41 $ao = new ArrayIterator;
73 ==ArrayIterator==
83 Warning: ArrayIterator::count() expects exactly 0 parameters, 1 given in %s on line %d
H A Darray_019.phpt2 SPL: ArrayIterator and foreach by reference
7 $ar = new ArrayIterator(array(2)); foreach($ar as &$v) var_dump($v);
10 class ArrayIteratorEx extends ArrayIterator
14 return ArrayIterator::current();
H A Darray_013.phpt2 SPL: ArrayIterator::append
14 $it = new ArrayIterator($a);
43 $it = new ArrayIterator($o);
79 Fatal error: Uncaught Error: Cannot append properties to objects, use ArrayIterator::offsetSet() in…
81 #0 %s(%d): ArrayIterator->append('three')
H A Darray_011.phpt2 SPL: ArrayIterator, LimitIterator and string keys
7 //foreach (new ArrayIterator($a) as $k => $v)
8 foreach (new LimitIterator(new ArrayIterator($a), 1, 3) as $k => $v)
H A Diterator_035.phpt2 SPL: ArrayIterator and values assigned by reference
8 $a = new ArrayIterator();
15 Notice: Indirect modification of overloaded element of ArrayIterator has no effect in %s on line %d
H A Diterator_055.phpt18 $ar = new ArrayIterator(array('1'=>0,'1,2'=>1,'1,2,3'=>2,0=>3,'FooBar'=>4,','=>5,',,'=>6));
43 object(ArrayIterator)#%d (1) {
44 ["storage":"ArrayIterator":private]=>
H A Diterator_054.phpt18 $ar = new ArrayIterator(array('1','1,2','1,2,3','',NULL,array(),'FooBar',',',',,'));
61 object(ArrayIterator)#%d (1) {
62 ["storage":"ArrayIterator":private]=>
H A Dbug71153.phpt2 Bug #71153: Performance Degradation in ArrayIterator with large arrays
9 foreach (new ArrayIterator([]) as $v) {}
H A Diterator_050.phpt18 $ar = new ArrayIterator(array('1','1,2','1,2,3','',NULL,array(),'FooBar',',',',,'));
70 object(ArrayIterator)#%d (1) {
71 %s"storage"%s"ArrayIterator":private]=>
H A Dbug71412.phpt2 Bug#71412 ArrayIterator reflection parameter info
5 echo (new ReflectionMethod('ArrayIterator', '__construct'));
H A Dbug62616.phpt2 Bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
5 $ai = new ArrayIterator(array(0,1));
H A Darray_012.phpt2 SPL: ArrayIterator::count
9 $it = new ArrayIterator($a);
31 $it = new ArrayIterator($o);
H A Darray_022.phpt25 ==ArrayIterator===
28 class MyArrayIterator extends ArrayIterator
59 ==ArrayIterator===
H A Diterator_051.phpt18 $ar = new ArrayIterator(array('1'=>0,'1,2'=>1,'1,2,3'=>2,0=>3,'FooBar'=>4,','=>5,',,'=>6));
77 object(ArrayIterator)#%d (1) {
78 ["storage":"ArrayIterator":private]=>
H A Dbug73471.phpt7 $events = new \ArrayIterator([1,2,3,4,5]);
8 $events2 = new \ArrayIterator(['a', 'b', 'c']);
/PHP-7.3/Zend/tests/return_types/
H A Dinheritance009.phpt9 return new ArrayIterator([1, 2]);
31 object(ArrayIterator)#%d (1) {
32 ["storage":"ArrayIterator":private]=>
/PHP-7.3/Zend/tests/type_declarations/
H A Diterable_001.phpt18 test(new ArrayIterator([1, 2, 3]));
36 object(ArrayIterator)#1 (1) {
37 ["storage":"ArrayIterator":private]=>

Completed in 32 milliseconds

1234567