php
1: --TEST-- 2: Ensure that ArrayObject acts like an array 3: --FILE-- 4: <?php 5: 6: $a = new ArrayObject; 7: $a['foo'] = 'bar'; 8: echo reset($a); 9: echo count($a); 10: echo current($a); 11: ?> 12: --EXPECT-- 13: bar1bar