Doc #61432 [Opn->Asn]: json_encode() return value on error not specified
| From: | aharvey@php.net | Date: | Mon, 19 Mar 2012 02:29:15 +0000 |
| Subject: | Doc #61432 [Opn->Asn]: json_encode() return value on error not specified | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-8086@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: bad docs
+Summary: json_encode() return value on error not specified
-Status: Open
+Status: Assigned
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[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