Date: 09/28/01
- Next message: Andrei Zmievski: "Re: [PHP-DEV] Array merge changes VALUE of keys, never mind the type"
- Previous message: othalla <email protected>: "[PHP-DEV] Bug #13480: Resources bug - dtors fails, hanging MySQL connections or hanging httpd"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Array merge changes VALUE of keys, never mind the type"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Array merge changes VALUE of keys, never mind the type"
- Reply: Nick Lindridge: "[PHP-DEV] Re: Array merge changes VALUE of keys, never mind the type"
- Reply: Steve Meyers: "[PHP-DEV] Re: Array merge changes VALUE of keys, never mind the type"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Regarding what seems an array merge bug. This was
quickly made bogus (:-), but I think that the
point was missed. The issue isn't that the key
was made numeric - I had it numeric and not a string
in the first place. The issue is that the key value
was changed.
The array element key values had a meaning - otherwise
I wouldn't have bothered by using keys at all.
array_merge should not change the value of keys. It should
just merge! If not a bug, it is a flaw.
Nick
-- 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>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] Array merge changes VALUE of keys, never mind the type"
- Previous message: othalla <email protected>: "[PHP-DEV] Bug #13480: Resources bug - dtors fails, hanging MySQL connections or hanging httpd"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Array merge changes VALUE of keys, never mind the type"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Array merge changes VALUE of keys, never mind the type"
- Reply: Nick Lindridge: "[PHP-DEV] Re: Array merge changes VALUE of keys, never mind the type"
- Reply: Steve Meyers: "[PHP-DEV] Re: Array merge changes VALUE of keys, never mind the type"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

