Re: Consistent case-insensitive module registry lookups
| From: | Sjoerd Langkemper | Date: | Sun, 16 Aug 2026 08:24:48 +0000 |
| Subject: | Re: Consistent case-insensitive module registry lookups | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-132229@lists.php.net to get a copy of this message | ||
On Sat, Aug 15, 2026, at 18:39, Weilin Du wrote:
> good to have ini_get_all consistent with other functions, that
> is, to be case-insensitive in extension names.
I agree. Another option to make them consistent would be to have them all case-sensitive. Have you
considered that?
On Sat, Aug 15, 2026, at 18:39, Weilin Du wrote:
> get_extension_funcs('Pcre') // ok
This is not what the documentation for get_extension_funcs says:
> This parameter must be in *lowercase*.
This doesn't seem to be true. Do you know why it says that?
Regards,
Sjoerd