phpstorm.dev

PHP ecosystem insights

PHP knowledge

Versioned PHP knowledge with primary sources and explicit verification dates.

Source checks through 2026-10-27 · 57 sources · This published snapshot is over 48 hours old.

Verified 2026-10-16 discussion Permanent entry

Case-insensitive extension names in ini_get_all()

Under discussion; not accepted. The RFC page (version 1.0, status Under Discussion, last modified 2026-10-16 16:58 UTC) and the official RFC index both list it as under discussion. The proposed version is PHP 8.7. The page header gives its date as 2026-10-17, which is one day after the UTC date on which it was created and announced. The author announced the RFC on 2026-10-16 at 16:51 UTC. They wrote that voting "will start two weeks after if no further discussion emerged", so the earliest expected vote is around 30 October. No vote has been scheduled, and the implementation is listed as "TBD".

Proposal

According to the RFC, extension_loaded(), get_extension_funcs() and phpversion() already accept extension names in any case, but ini_get_all() requires the lowercase name. ini_get_all('Pcre') raises an E_WARNING and returns false. The RFC would resolve the $extension argument with ASCII case-insensitive matching, whatever the current locale, for both values of $details. Then ini_get_all('Pcre') would return the same result as ini_get_all('pcre').

Compatibility

Calls that differ only in capitalization from a loaded extension's name would succeed instead of warning and returning false. Code that relies on that failure would behave differently. Calls that already succeed do not change.

Ballot

One primary vote that needs a 2/3 majority. The poll on the page shows no votes and has no closing date.

History and limitations

Related: 16 October 2026 digest.