[doc-en] master: Document new key `builtin_default_value` of the array returned by `ini_get_all()` in PHP 8.6.0 (#5581)

From: Date: Fri, 02 Oct 2026 07:50:35 +0000
Subject: [doc-en] master: Document new key `builtin_default_value` of the array returned by `ini_get_all()` in PHP 8.6.0 (#5581)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23803@lists.php.net to get a copy of this message
Author: Sebastian Bergmann (sebastianbergmann) Committer: GitHub (web-flow) Pusher: jordikroon Date: 2026-10-02T09:50:31+02:00 Commit: https://github.com/php/doc-en/commit/e1c07e73cad907fd44dab6684b0a846f9e3798e2 Raw diff: https://github.com/php/doc-en/commit/e1c07e73cad907fd44dab6684b0a846f9e3798e2.diff Document new key builtin_default_value of the array returned by ini_get_all() in PHP 8.6.0 (#5581) * Document new key "builtin_default_value" of the array returned by ini_get_all() in PHP >= 8.6.0 Co-authored-by: Jordi Kroon <jordikroon@php.net> Changed paths: M reference/info/functions/ini-get-all.xml Diff: diff --git a/reference/info/functions/ini-get-all.xml b/reference/info/functions/ini-get-all.xml index 09cf1eb32cab..3e0e60e6fd45 100644 --- a/reference/info/functions/ini-get-all.xml +++ b/reference/info/functions/ini-get-all.xml @@ -51,13 +51,16 @@ Returns &false; and raises an <constant>E_WARNING</constant> level error if the <parameter>extension</parameter> doesn't exist. </para> - <para> + <simpara> When <parameter>details</parameter> is &true; (default) the array will contain <literal>global_value</literal> (set in &php.ini;), <literal>local_value</literal> (perhaps set with - <function>ini_set</function> or &htaccess;), and + <function>ini_set</function> or &htaccess;), + <literal>builtin_default_value</literal> (the built-in default value of the + directive, or &null; if it has none, independent of values set in + &php.ini;, on the command line, or at runtime), and <literal>access</literal> (the access level). - </para> + </simpara> <para> When <parameter>details</parameter> is &false; the value will be the current value of the option. @@ -74,6 +77,29 @@ </note> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.6.0</entry> + <entry> + The <literal>builtin_default_value</literal> element was added to the + details array returned for each directive. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -96,6 +122,7 @@ Array ( [global_value] => 100000 [local_value] => 100000 + [builtin_default_value] => 100000 [access] => 7 ) @@ -103,6 +130,7 @@ Array ( [global_value] => 100000 [local_value] => 100000 + [builtin_default_value] => 100000 [access] => 7 ) @@ -113,6 +141,7 @@ Array ( [global_value] => 0 [local_value] => 0 + [builtin_default_value] => 0 [access] => 6 ) @@ -120,6 +149,7 @@ Array ( [global_value] => 1 [local_value] => 1 + [builtin_default_value] => 1 [access] => 4 )

« previous php.doc.cvs (#23803) next »