Re: Bug #13478 Updated: array_merge changes keys
| From: | Markus Fischer | Date: | Sun, 30 Sep 2001 12:46:00 +0000 |
| Subject: | Re: Bug #13478 Updated: array_merge changes keys | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66854@lists.php.net to get a copy of this message | ||
On Sun, Sep 30, 2001 at 02:34:35PM +0200, derick@php.net wrote :
> On Fri, 28 Sep 2001, Markus Fischer wrote:
>
> > What a nasty 'feature'. Can't we get rid of it ASAP?
>
> Not really, it's how the Zend hash tables work. Every numeric key gets
> converted to a number, even if it's used as a string value.
I realized that after actually reading the source ...
- Markus