Doc #61432 [Asn->Csd]: json_encode() return value on error not specified

From: Date: Mon, 19 Mar 2012 02:30:06 +0000
Subject: Doc #61432 [Asn->Csd]: json_encode() return value on error not specified
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8087@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61432&edit=1 ID: 61432 Updated by: aharvey@php.net Reported by: petern at greenmail dot net Summary: json_encode() return value on error not specified -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: aharvey 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: ------------------------------------------------------------------------ [2012-03-19 02:30:01] aharvey@php.net Automatic comment from SVN on behalf of aharvey Revision: http://svn.php.net/viewvc/?view=revision&revision=324345 Log: Fix doc bug #61432 (json_encode() return value on error not specified). ------------------------------------------------------------------------ [2012-03-19 01:38:22] petern at greenmail dot net Description: ------------ --- From manual page: http://www.php.net/function.json-encode#refsect1-function.json-encode-returnvalues --- The docs say "Returns a JSON encoded string on success." But they don't say what's returned in case of failure. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61432&edit=1

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