|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-09-03 19:16 UTC] mpchanzy at yahoo dot ca
-Status: Open
+Status: Closed
[2010-09-03 19:16 UTC] mpchanzy at yahoo dot ca
[2010-09-03 19:16 UTC] rasmus@php.net
-Status: Closed
+Status: Bogus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 11:00:02 2025 UTC |
Description: ------------ I didn't find information on this bug online and couldn't update my version. I have php 5.2.6 (installed with wampserver). The bug is easy to reproduce so I thought I should just let you know as it may be related to other bugs that interpret the key value instead of reading it as a string in a 2D-array. $params[] = array ("join" => "a", "join" => "b"); echo($params[0]);echo($params[0]); returns "b" instead of "a" It seems as though when the key="join", previous entries of the array are deleted. Test script: --------------- $params[] = array ("join" => "a", "join" => "b"); echo($params[0]); Expected result: ---------------- I should be getting "a" Actual result: -------------- I get "b"