Doc #67239 [Opn]: Keys are re-ordered in associative arrays
| From: | levim@php.net | Date: | Fri, 09 May 2014 19:09:20 +0000 |
| Subject: | Doc #67239 [Opn]: Keys are re-ordered in associative arrays | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11199@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67239&edit=1
ID: 67239
Updated by: levim@php.net
Reported by: mhenderson at convergesystems dot com
Summary: Keys are re-ordered in associative arrays
Status: Open
Type: Documentation Problem
Package: json
Operating System: any
PHP Version: 5.5.12
Block user comment: N
Private report: N
New Comment:
I've never seen it not preserve the order for encoding; do you have a reproduce case?
Previous Comments:
------------------------------------------------------------------------
[2014-05-09 18:23:29] mhenderson at convergesystems dot com
Description:
------------
---
From manual page: http://www.php.net/function.json-encode
---
The docs should make note that the keys of an associative array do not retain their defined order.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67239&edit=1