/PHP-5.4/ext/spl/tests/ |
H A D | iterator_042.phpt | 2 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 D | array_020.phpt | 2 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 D | bug42654.phpt | 27 ["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 D | iterator_049.phpt | 2 SPL: ArrayIterator with NULL key 6 $ar = new ArrayIterator(array(NULL=>NULL)); 14 object(ArrayIterator)#%d (1) { 15 ["storage":"ArrayIterator":private]=>
|
H A D | iterator_049b.phpt | 2 SPL: ArrayIterator with NULL key 6 $ar = new ArrayIterator(array( 21 object(ArrayIterator)#%d (1) { 22 ["storage":"ArrayIterator":private]=>
|
H A D | arrayObject_exchangeArray_basic2.phpt | 24 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 D | arrayObject_getIteratorClass_basic1.phpt | 5 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 D | bug36941.phpt | 2 Bug #36941 (ArrayIterator does not clone itself) 17 ===ArrayIterator=== 19 $a = new ArrayIterator(); 39 ===ArrayIterator===
|
H A D | arrayObject_count_basic1.phpt | 2 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 D | array_019.phpt | 2 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 D | array_013.phpt | 2 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 D | iterator_035.phpt | 2 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 D | array_011.phpt | 2 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 D | array_022.phpt | 25 ==ArrayIterator=== 28 class MyArrayIterator extends ArrayIterator 64 ==ArrayIterator=== 74 ["storage":"ArrayIterator":private]=>
|
H A D | iterator_055.phpt | 18 $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 D | iterator_054.phpt | 18 $ar = new ArrayIterator(array('1','1,2','1,2,3','',NULL,array(),'FooBar',',',',,')); 63 object(ArrayIterator)#%d (1) { 64 ["storage":"ArrayIterator":private]=>
|
H A D | bug62616.phpt | 2 Bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault) 5 $ai = new ArrayIterator(array(0,1));
|
H A D | array_012.phpt | 2 SPL: ArrayIterator::count 9 $it = new ArrayIterator($a); 31 $it = new ArrayIterator($o);
|
H A D | iterator_051.phpt | 18 $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 D | array_015.phpt | 2 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 D | iterator_050.phpt | 18 $ar = new ArrayIterator(array('1','1,2','1,2,3','',NULL,array(),'FooBar',',',',,')); 74 object(ArrayIterator)#%d (1) { 75 %s"storage"%s"ArrayIterator":private]=>
|
H A D | array_016.phpt | 2 SPL: ArrayIterator/Object and IteratorIterator 6 $it = new ArrayIterator(range(0,3));
|
H A D | array_006.phpt | 2 SPL: ArrayIterator without ArrayObject 11 $obj = new ArrayIterator($arr);
|
H A D | spl_006.phpt | 7 $it->append(new ArrayIterator(array(1,2))); 8 $it->append(new ArrayIterator(array(2,3)));
|
H A D | bug67539.phpt | 2 Bug #67539 (ArrayIterator use-after-free due to object change during sorting) 6 $it = new ArrayIterator(array_fill(0,2,'X'), 1 );
|