/PHP-7.0/ext/spl/tests/ |
H A D | iterator_042.phpt | 2 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 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 | 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 | 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_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 | bug36941.phpt | 2 Bug #36941 (ArrayIterator does not clone itself) 17 ===ArrayIterator=== 19 $a = new ArrayIterator(); 39 ===ArrayIterator===
|
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 | 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 | 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 | 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 | 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',',',',,')); 61 object(ArrayIterator)#%d (1) { 62 ["storage":"ArrayIterator":private]=>
|
H A D | iterator_050.phpt | 18 $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 D | bug71153.phpt | 2 Bug #71153: Performance Degradation in ArrayIterator with large arrays 9 foreach (new ArrayIterator([]) as $v) {}
|
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 | array_022.phpt | 25 ==ArrayIterator=== 28 class MyArrayIterator extends ArrayIterator 59 ==ArrayIterator===
|
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 | bug73471.phpt | 7 $events = new \ArrayIterator([1,2,3,4,5]); 8 $events2 = new \ArrayIterator(['a', 'b', 'c']);
|
H A D | bug75173.phpt | 7 $it->append(new ArrayIterator(['foo'])); 13 $it->append(new ArrayIterator(['bar']));
|
H A D | bug71028.phpt | 2 Bug #71028 (Undefined index with ArrayIterator) 9 $a = new ArrayIterator;
|
/PHP-7.0/Zend/tests/return_types/ |
H A D | inheritance009.phpt | 11 return new ArrayIterator([1, 2]); 34 object(ArrayIterator)#%d (1) { 35 ["storage":"ArrayIterator":private]=>
|