|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-12-12 09:26 UTC] daniele dot maggio at dotnext dot it
[2018-12-12 17:12 UTC] requinix@php.net
[2021-03-09 13:20 UTC] cmb@php.net
-Status: Open
+Status: Suspended
[2021-03-09 13:20 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
Description: ------------ Defining array with single clause should check duplicate keys and at least warn user. Current implementation just takes last defined value for key. Test script: --------------- $a = array('a'=>3, 'a'=>4); var_dump($a); Expected result: ---------------- notice, warning or error Actual result: -------------- array(1) { ["a"]=> int(4) }