Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions reference/info/functions/ini-get-all.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -74,6 +77,29 @@
</note>
Comment on lines 64 to 77

This comment was marked as off-topic.

</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>
Expand All @@ -96,13 +122,15 @@ Array
(
[global_value] => 100000
[local_value] => 100000
[builtin_default_value] => 100000
[access] => 7
)

[pcre.recursion_limit] => Array
(
[global_value] => 100000
[local_value] => 100000
[builtin_default_value] => 100000
[access] => 7
)

Expand All @@ -113,13 +141,15 @@ Array
(
[global_value] => 0
[local_value] => 0
[builtin_default_value] => 0
[access] => 6
)

[allow_url_fopen] => Array
(
[global_value] => 1
[local_value] => 1
[builtin_default_value] => 1
[access] => 4
)

Expand Down