php-src/tests/classes/arrayobject_001.phpt
2009-07-21 14:02:24 +00:00

14 lines
181 B
PHP

--TEST--
Ensure that ArrayObject acts like an array
--FILE--
<?php
$a = new ArrayObject;
$a['foo'] = 'bar';
echo reset($a);
echo count($a);
echo current($a);
?>
--EXPECT--
bar1bar