[doc-en] master: Update json-last-error-msg.xml - json_validate() (#4721)
| From: | Juan Morales via GitHub | Date: | Fri, 20 Jun 2025 02:42:40 +0000 |
| Subject: | [doc-en] master: Update json-last-error-msg.xml - json_validate() (#4721) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22695@lists.php.net to get a copy of this message | ||
Author: Juan Morales (juan-morales)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2025-06-20T10:30:19+08:00
Commit: https://github.com/php/doc-en/commit/811ad2ca065f6f5b92a911bba9d736e744e4682c
Raw diff: https://github.com/php/doc-en/commit/811ad2ca065f6f5b92a911bba9d736e744e4682c.diff
Update json-last-error-msg.xml - json_validate() (#4721)
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Co-authored-by: Luffy <52o@qq52o.cn>
Changed paths:
M reference/json/functions/json-last-error-msg.xml
Diff:
diff --git a/reference/json/functions/json-last-error-msg.xml
b/reference/json/functions/json-last-error-msg.xml
index ddccc244e6ec..09e774e58c36 100644
--- a/reference/json/functions/json-last-error-msg.xml
+++ b/reference/json/functions/json-last-error-msg.xml
@@ -3,7 +3,7 @@
<refentry xml:id="function.json-last-error-msg" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>json_last_error_msg</refname>
- <refpurpose>Returns the error string of the last json_encode() or json_decode()
call</refpurpose>
+ <refpurpose>Returns the error string of the last json_validate(), json_encode() or
json_decode() call</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -13,7 +13,7 @@
<void/>
</methodsynopsis>
<para>
- Returns the error string of the last <function>json_encode</function> or
<function>json_decode</function>
+ Returns the error string of the last <function>json_validate</function>,
<function>json_encode</function> or <function>json_decode</function>
call, which did not specify <constant>JSON_THROW_ON_ERROR</constant>.
</para>