Doc #54075 [Opn->Csd]: Wrong information on json_last_error()

From: Date: Sat, 30 Apr 2011 13:14:41 +0000
Subject: Doc #54075 [Opn->Csd]: Wrong information on json_last_error()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6324@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54075&edit=1 ID: 54075 Updated by: salathe@php.net Reported by: jan at horde dot org Summary: Wrong information on json_last_error() -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2011-04-30 15:13:54] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=310659 Log: json_last_error() reports on json_encode() errors too (doc #54075) ------------------------------------------------------------------------ [2011-02-22 21:39:41] jan at horde dot org Description: ------------ The docs for json_last_error() only mention its usage for parsing JSON, but it also works for encoding to JSON. This should be mentioned, and a cross link to json_encode() should be added. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54075&edit=1

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