[DOC-CVS] [doc-en] master: Update JSON extension installation notes (#4868)

[email protected] (Josh via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Josh (joshtrichards)
Committer: GitHub (web-flow)
Pusher: Crell
Date: 2025-10-03T09:39:29-05:00

Commit: https://github.com/php/doc-en/commit/7e42240fb5f565c469f04d595f0d1c4fdda48dfe
Raw diff: https://github.com/php/doc-en/commit/7e42240fb5f565c469f04d595f0d1c4fdda48dfe.diff

Update JSON extension installation notes (#4868)

* Update JSON extension installation notes

* fix: drop whitespace

Changed paths:
  M  reference/json/setup.xml


Diff:

diff --git a/reference/json/setup.xml b/reference/json/setup.xml
index 0b590e145b42..0cc36aa19ed3 100644
--- a/reference/json/setup.xml
+++ b/reference/json/setup.xml
@@ -7,15 +7,15 @@
  <section xml:id="json.installation">
   &reftitle.install;
   <para>
-   The JSON extension is bundled and compiled into PHP by
-   default.
+   The JSON extension is a core PHP extension, so it is always enabled.
   </para>
   <para>
-   As of PHP 8.0.0, the JSON extension is a core PHP extension, so it is always enabled.
+   Prior to PHP 8.0.0, the JSON extension was bundled and compiled into PHP by
+   default, but could be explicitly disabled using <option role="configure">--disable-json</option>.
   </para>
   <para>
-   &pecl.info;
-   <link xlink:href="&url.pecl.package;json">&url.pecl.package;json</link>
+   Prior to 5.2.0, the JSON extension was installed as a
+   <link xlink:href="&url.pecl.package;json">PECL module</link>.
   </para>
  </section>
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.