[doc-en] master: Note deprecated get_defined_functions argument. (#4893)
| From: | Larry Garfield via GitHub | Date: | Sat, 04 Oct 2025 15:41:41 +0000 |
| Subject: | [doc-en] master: Note deprecated get_defined_functions argument. (#4893) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22789@lists.php.net to get a copy of this message | ||
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 <timwolla@googlemail.com>
---------
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
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>