Home
last modified time | relevance | path

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

123456

/PHP-5.6/ext/spl/tests/
H A Diterator_042.phpt2 SPL: AppendIterator and its ArrayIterator
17 $it->append(new ArrayIterator(array(1)));
41 object(ArrayIterator)#%d (1) {
42 %s"storage"%s"ArrayIterator":private]=>
45 object(ArrayIterator)#%d (1) {
53 object(ArrayIterator)#%d (1) {
64 object(ArrayIterator)#%d (1) {
65 %s"storage"%s"ArrayIterator":private]=>
68 object(ArrayIterator)#%d (1) {
76 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 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_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 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 Catchable fatal error: ArrayIterator::append(): Cannot append properties to objects, use ArrayItera…
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 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 Darray_022.phpt25 ==ArrayIterator===
28 class MyArrayIterator extends ArrayIterator
64 ==ArrayIterator===
74 ["storage":"ArrayIterator":private]=>
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 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 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 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 Darray_015.phpt2 SPL: ArrayIterator::next() with internal arrays
60 Notice: ArrayIterator::next(): Array was modified outside object and internal position is no longer…
88 Notice: main(): ArrayIterator::next(): Array was modified outside object and internal position is n…
91 Notice: main(): ArrayIterator::next(): Array was modified outside object and internal position is n…
H A Dspl_006.phpt7 $it->append(new ArrayIterator(array(1,2)));
8 $it->append(new ArrayIterator(array(2,3)));
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 Dbug67539.phpt2 Bug #67539 (ArrayIterator use-after-free due to object change during sorting)
6 $it = new ArrayIterator(array_fill(0,2,'X'), 1 );

Completed in 25 milliseconds

123456