svn: /phpdoc/en/trunk/reference/json/functions/ json-last-error-msg.xml
| From: | Adam Harvey | Date: | Tue, 01 Jul 2014 19:55:57 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/json/functions/ json-last-error-msg.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12561@lists.php.net to get a copy of this message | ||
aharvey Tue, 01 Jul 2014 19:55:57 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334064
Log:
Clarify json_last_error_msg()'s return values.
Fixes doc bug #67548 (Docs says json_last_error_msg should return null, but it
returns 'No Error').
Bug: https://bugs.php.net/67548 (Open) Docs says
json_last_error_msg should return null, but it returns 'No Error'
Changed paths:
U phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml
Modified: phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml
===================================================================
--- phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml 2014-07-01 17:34:44 UTC (rev
334063)
+++ phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml 2014-07-01 19:55:57 UTC (rev
334064)
@@ -27,7 +27,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the error message on success or &null; with wrong parameters.
+ Returns the error message on success, <literal>"No Error"</literal> if no
+ error has occurred, &return.falseforfailure;.
</para>
</refsect1>