Re: [PHP-DEV] Bug #13478 Updated: array_merge changes keys From: Markus Fischer (mfischer <email protected>)
Date: 09/30/01

On Sun, Sep 30, 2001 at 02:34:35PM +0200, derick <email protected> 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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>