| alcaeus | Yes | 2026-11-10 13:15 |
| ashnazg | Yes | 2026-11-04 16:03 |
| ayesh | Yes | 2026-11-02 07:38 |
| calvinb | Yes | 2026-11-02 17:01 |
| crell | Yes | 2026-11-05 22:29 |
| devnexen | Yes | 2026-11-04 05:24 |
| duncan3dc | Yes | 2026-11-02 12:43 |
| dunglas | Yes | 2026-11-09 20:09 |
| ericmann | Yes | 2026-11-13 01:40 |
| galvao | Yes | 2026-11-10 02:14 |
| geekcom | Yes | 2026-11-03 12:48 |
| iliaa | Yes | 2026-11-02 20:29 |
| ilutov | Yes | 2026-11-02 16:46 |
| jordikroon | Yes | 2026-11-10 20:48 |
| jorg_sowa | Abstain | 2026-11-05 23:31 |
| mbeccati | Yes | 2026-11-02 09:31 |
| mcmic | Yes | 2026-11-10 10:33 |
| narf | Abstain | 2026-11-03 14:06 |
| ocramius | Yes | 2026-11-02 23:03 |
| sjoerd | Yes | 2026-11-02 11:20 |
| thorstenr | Yes | 2026-11-15 07:29 |
| timwolla | Abstain | 2026-11-03 12:49 |
| weilindu | Yes | 2026-11-02 02:49 |
Copied from wiki.php.net, last synchronized Nov 16, 2026 05:46 UTC
PHP's extension-query functions handle extension names inconsistently. extension_loaded(), get_extension_funcs(), and phpversion() already accept case-insensitive names, while ini_get_all() requires lowercase names:
<?php
extension_loaded('Pcre'); // true
get_extension_funcs('Pcre'); // array of function names
phpversion('Pcre'); // extension version string
ini_get_all('Pcre'); // E_WARNING, then false
?>
This RFC proposes making ini_get_all() case-insensitive so the same extension name can be used consistently across all four functions, without callers needing to normalize it for one particular API.
Resolve the $extension argument using ASCII case-insensitive matching, independently of the current locale. This applies to both values of $details (the second parameter).
<?php
// PHP 8.7:
var_dump(ini_get_all('pcre') === ini_get_all('Pcre')); // bool(true)
var_dump(ini_get_all('pcre', false) === ini_get_all('PCRE', false)); // bool(true)
?>
Names differing only in capitalization from a loaded extension now succeed instead of raising a warning and returning false. Code relying on that failure will observe different behavior.
Existing successful calls are unaffected.
PHP 8.7
The ini_get_all function will be more consistent with the rest of the functions in the php core concerning extension's name when it comes to case-sensitiveness.
Voting ends on 2026-11-16 at 00:00:00 UTC.
Primary Vote requiring a 2/3 majority to accept the RFC:
Vote: Implement case-insensitive extension names in ini_get_all()? — Yes: 20 · No: 0 · Abstain: 3 (closed)
TBD.