Skip to content

Commit d155d3c

Browse files
CrellTimWolla
andauthored
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]>
1 parent ce98b56 commit d155d3c

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

reference/funchand/functions/get-defined-functions.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
<term><parameter>exclude_disabled</parameter></term>
2525
<listitem>
2626
<para>
27-
Whether disabled functions should be excluded from the return value.
27+
Whether disabled functions should be excluded from the return value. This parameter has no effect
28+
since PHP 8.0.0.
2829
</para>
30+
&warn.deprecated.feature-8-5-0;
2931
</listitem>
3032
</varlistentry>
3133
</variablelist>
@@ -53,11 +55,20 @@
5355
</row>
5456
</thead>
5557
<tbody>
58+
<row>
59+
<entry>8.5.0</entry>
60+
<entry>
61+
The <parameter>exclude_disabled</parameter> parameter has been deprecated,
62+
as it no longer has any effect.
63+
</entry>
64+
</row>
5665
<row>
5766
<entry>8.0.0</entry>
5867
<entry>
5968
The default value of the <parameter>exclude_disabled</parameter> parameter
60-
has been changed from &false; to &true;.
69+
has been changed from &false; to &true;. However, it will not have
70+
any effect as disabled functions are removed from the function table at
71+
compile time.
6172
</entry>
6273
</row>
6374
<row>

0 commit comments

Comments
 (0)