php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #40859 Incorrect definition of an array
Submitted: 2007-03-20 02:33 UTC Modified: 2007-03-23 13:57 UTC
From: tony at ohagan dot name Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
 [2007-03-20 02:33 UTC] tony at ohagan dot name
Description:
------------
http://www.php.net/manual/en/language.types.array.php

"An array in PHP is actually an ordered map. A map is a type that maps values to keys."

I understand that PHP Arrays map keys to values not value to keys.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-23 13:57 UTC] vrana@php.net
I understand "maps values to keys" as "assigns values to keys" which is correct.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 09:01:31 2025 UTC