Skip to content

Commit 811ad2c

Browse files
juan-moralesnielsdossy-records
authored
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>
1 parent 6ba84e3 commit 811ad2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/json/functions/json-last-error-msg.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<refentry xml:id="function.json-last-error-msg" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
44
<refnamediv>
55
<refname>json_last_error_msg</refname>
6-
<refpurpose>Returns the error string of the last json_encode() or json_decode() call</refpurpose>
6+
<refpurpose>Returns the error string of the last json_validate(), json_encode() or json_decode() call</refpurpose>
77
</refnamediv>
88

99
<refsect1 role="description">
@@ -13,7 +13,7 @@
1313
<void/>
1414
</methodsynopsis>
1515
<para>
16-
Returns the error string of the last <function>json_encode</function> or <function>json_decode</function>
16+
Returns the error string of the last <function>json_validate</function>, <function>json_encode</function> or <function>json_decode</function>
1717
call, which did not specify <constant>JSON_THROW_ON_ERROR</constant>.
1818
</para>
1919

0 commit comments

Comments
 (0)