Doc #67239 [Opn->Csd]: Keys are re-ordered in associative arrays

From: Date: Fri, 09 May 2014 19:53:24 +0000
Subject: Doc #67239 [Opn->Csd]: Keys are re-ordered in associative arrays
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11200@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 User updated by: mhenderson at convergesystems dot com Reported by: mhenderson at convergesystems dot com Summary: Keys are re-ordered in associative arrays -Status: Open +Status: Closed Type: Documentation Problem Package: json Operating System: any PHP Version: 5.5.12 Block user comment: N Private report: N New Comment: I believe that I made a mistake in my testing. Previous Comments: ------------------------------------------------------------------------ [2014-05-09 19:09:20] levim@php.net I've never seen it not preserve the order for encoding; do you have a reproduce case? ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#11200) next »