add test for ArrayObject acting as array (for 5.3)

This commit is contained in:
Sean Coates 2008-11-10 19:01:35 +00:00
parent feeaa6568e
commit 4e3929d278

View File

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