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#5581sebastianbergmann wants to merge 1 commit into
builtin_default_value of the array returned by ini_get_all() in PHP >= 8.6.0#5581Conversation
…_get_all() in PHP >= 8.6.0
builtin_default_value of the array returned by ini_get_all() in PHP >= 8.6.0
jordikroon
left a comment
There was a problem hiding this comment.
LGTM. Just a few style guide nits. Also meant to reduce the chances of a merge conflict later om.
| <para> | ||
| <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> | ||
| </para> |
There was a problem hiding this comment.
| <para> | |
| <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> | |
| </para> | |
| <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> |
| Returns &false; and raises an <constant>E_WARNING</constant> level error | ||
| if the <parameter>extension</parameter> doesn't exist. | ||
| </para> | ||
| <para> |
| 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> |
There was a problem hiding this comment.
| </para> | |
| </simpara> |
|
This should probably wait until PHP 8.6 actually drops. |
|
|
||
| <refsect1 role="returnvalues"> | ||
| &reftitle.returnvalues; | ||
| <para> |
| Returns an associative array with directive name as the array key. | ||
| Returns &false; and raises an <constant>E_WARNING</constant> level error | ||
| if the <parameter>extension</parameter> doesn't exist. | ||
| </para> |
| @@ -74,6 +77,31 @@ | |||
| </note> | |||
There was a problem hiding this comment.
| <simpara> | |
| When <parameter>details</parameter> is &false; the value will be the | |
| current value of the option. | |
| </simpara> | |
| <simpara> | |
| See the <link linkend="configuration.changes.modes">manual section</link> | |
| for information on what access levels mean. | |
| </simpara> | |
| <note> | |
| <simpara> | |
| It's possible for a directive to have multiple access levels, which is | |
| why <literal>access</literal> shows the appropriate bitmask values. | |
| </simpara> | |
| </note> |
|
@lacatoire as long as those inner para's do not change. There is no need to suggest to migrate to |
This updates the documentation of |
|
@sebastianbergmann there isn't really a policy, but best to wait for alpha 1 before merging. |
This updates the documentation for
ini_get_all()after php/php-src#22134.