[DOC-CVS] [doc-en] master: Note deprecated get_defined_functions argument. (#4893)

[email protected] (Larry Garfield via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Larry Garfield (Crell)
Committer: GitHub (web-flow)
Pusher: Crell
Date: 2025-10-04T10:41:38-05:00

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

Note deprecated get_defined_functions argument. (#4893)

* Note deprecated get_defined_functions argument.

* Add formal deprecation warning.

* Remove redundant text

Co-authored-by: Tim Düsterhus <[email protected]>

---------

Co-authored-by: Tim Düsterhus <[email protected]>

Changed paths:
  M  reference/funchand/functions/get-defined-functions.xml


Diff:

diff --git a/reference/funchand/functions/get-defined-functions.xml b/reference/funchand/functions/get-defined-functions.xml
index 0a6e9151bfe3..f46925aec813 100644
--- a/reference/funchand/functions/get-defined-functions.xml
+++ b/reference/funchand/functions/get-defined-functions.xml
@@ -24,8 +24,10 @@
     <term><parameter>exclude_disabled</parameter></term>
     <listitem>
      <para>
-      Whether disabled functions should be excluded from the return value.
+      Whether disabled functions should be excluded from the return value. This parameter has no effect
+      since PHP 8.0.0.
      </para>
+     &warn.deprecated.feature-8-5-0;
     </listitem>
    </varlistentry>
   </variablelist>
@@ -53,11 +55,20 @@
      </row>
     </thead>
     <tbody>
+     <row>
+      <entry>8.5.0</entry>
+      <entry>
+       The <parameter>exclude_disabled</parameter> parameter has been deprecated,
+       as it no longer has any effect.
+      </entry>
+     </row>
      <row>
       <entry>8.0.0</entry>
       <entry>
        The default value of the <parameter>exclude_disabled</parameter> parameter
-       has been changed from &false; to &true;.
+       has been changed from &false; to &true;.  However, it will not have
+       any effect as disabled functions are removed from the function table at
+       compile time.
       </entry>
      </row>
      <row>
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.