Please bring up any areas you are concerned about that we might have forgotten.

PHP_5_3 as of this morning does not contain that patch that makes ArrayObject behave like an array (reset()).

Here's a test for that (I don't have php-src karma) if anyone would care to commit it. Passes on 5.2.6, but fails on 5.3alpha3-dev

S

--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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to