php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #55855 comment #92186 not valid
Submitted: 2011-10-05 21:18 UTC Modified: 2011-10-05 22:41 UTC
From: zamolxe@php.net Assigned: danbrown (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 + 18 = ?
Subscribe to this entry?

 
 [2011-10-05 21:18 UTC] zamolxe@php.net
Description:
------------
http://www.php.net/manual/en/language.types.array.php#92186

This comment is invalid, I ran the test on PHP 4.4.9, 5.2.17 and 5.3.5

$a = array ('foo' => 1, 'bar' => 2, 'foo' => 3);
var_dump($a);

// Same output on all versions: array(2) { ["foo"]=> int(3) ["bar"]=> int(2) } 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-05 22:41 UTC] danbrown@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: danbrown
 [2011-10-05 22:41 UTC] danbrown@php.net
The user note has been removed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 09:01:31 2024 UTC