Re: alpha3 or forever hold your peace

From: Date: Mon, 10 Nov 2008 14:58:46 +0000
Subject: Re: alpha3 or forever hold your peace
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-41827@lists.php.net to get a copy of this message
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

« previous php.internals (#41827) next »