Re: cvs: php4 /ext/standard array.c
| From: | Andi Gutmans | Date: | Wed, 09 Oct 2002 20:47:25 +0000 |
| Subject: | Re: cvs: php4 /ext/standard array.c | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89302@lists.php.net to get a copy of this message | ||
At 10:47 PM 10/9/2002 +0200, Sterling Hughes wrote:
On Wed, 2002-10-09 at 22:45, Derick Rethans wrote: On 9 Oct 2002, Sterling Hughes wrote:Why wouldn't it work well? HASH_OF() was always used when the intention was for it to work for both arrays and objects. Also, I doubt the php-cvs nor the php-dev forums can let you know if this feature is being used. You'd have to ask all of the PHP users out there. AndiOn Wed, 2002-10-09 at 22:21, Thies C. Arntzen wrote:the use ofOn Wed, Oct 09, 2002 at 06:29:45PM -0000, Sterling Hughes wrote:sterling Wed Oct 9 14:29:45 2002 EDTModified files:/php4/ext/standard array.cLog: clean these functions up using zend_parse_parameters and nukeIt breaks BC, soooo... revert? (Not that I see any use either :) If you're at it, please add some tests for the test framework too. Well, it breaks it in a "not-really-breaking-bc-manner." To my knowledge this was never documented to work. I don't think anyone will miss this feature - if someone will, and is/has used it, please write in and let me know, the patch can be modified to work on objects. But then again, it really wouldn't work well on objects anyhow (even before my patch), so i really don't see the point.none of them do - none of them should either - why would you want to access an object like you would an _indexed_ array?HASH_OF() which is inappropriate in these cases...will prev still work on objects after your patch?