[DOC-CVS] [doc-en] master: Update json-last-error.xml to mention validation (#4722)

[email protected] (Juan Morales via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Juan Morales (juan-morales)
Committer: GitHub (web-flow)
Pusher: nielsdos
Date: 2025-06-19T22:53:02+02:00

Commit: https://github.com/php/doc-en/commit/7100979e254970cef72c6f91b32352e7c7898635
Raw diff: https://github.com/php/doc-en/commit/7100979e254970cef72c6f91b32352e7c7898635.diff

Update json-last-error.xml to mention validation (#4722)

Changed paths:
  M  reference/json/functions/json-last-error.xml


Diff:

diff --git a/reference/json/functions/json-last-error.xml b/reference/json/functions/json-last-error.xml
index d01353b6537b..a72b68738f49 100644
--- a/reference/json/functions/json-last-error.xml
+++ b/reference/json/functions/json-last-error.xml
@@ -13,7 +13,7 @@
    <void />
   </methodsynopsis>
   <para>
-   Returns the last error (if any) occurred during the last JSON encoding/decoding,
+   Returns the last error (if any) occurred during the last JSON validation/encoding/decoding,
    which did not specify <constant>JSON_THROW_ON_ERROR</constant>.
   </para>
  </refsect1>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.