[DOC-CVS] [doc-en] disable_functions_classes-warning: Include warnings for disable_functions and disable_classes

[email protected] (Ilija Tovilo via GitHub) Wed, 18 Mar 2026 22:45:15 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Ilija Tovilo (iluuu1994)
Committer: GitHub (web-flow)
Pusher: iluuu1994
Date: 2026-03-18T23:42:53+01:00

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

Include warnings for disable_functions and disable_classes

Added warnings about security measures for shared hosting environments.

Changed paths:
  M  appendices/ini.core.xml


Diff:

diff --git a/appendices/ini.core.xml b/appendices/ini.core.xml
index a3b8fa64f801..2ed589073eb0 100644
--- a/appendices/ini.core.xml
+++ b/appendices/ini.core.xml
@@ -220,6 +220,12 @@
         This directive must be set in &php.ini;.
         It cannot be set in &httpd.conf;.
        </simpara>
+       <warning>
+        <para>
+         This directive can be circumvented and should not be considered a
+         sufficient security measure for shared hosting environments.
+        </para>
+       </warning>
       </listitem>
      </varlistentry>
 
@@ -242,6 +248,12 @@
         This directive must be set in &php.ini;.
         It cannot be set in &httpd.conf;.
        </simpara>
+       <warning>
+        <para>
+         This directive can be circumvented and should not be considered a
+         sufficient security measure for shared hosting environments.
+        </para>
+       </warning>
       </listitem>
      </varlistentry>