Re: [PHP-DEV] Consistent case-insensitive module registry lookups
Aleksander Machniak <[email protected]>
| Newsgroups | gmane.comp.php.devel |
|---|---|
| Message-ID | <[email protected]> |
On 18.08.2026 14:56, Weilin Du wrote: > I don't want to debate about why case-sensitive is better. I'd say its > quite a common view > for today's developers. Or maybe I am the only one thinking that way. I don't agree that case-sensitive here would be better. There's multiple variations of extension names, e.g. PDO, SimpleXML, Xdebug, swoole. And for example --disable-simplexml exists (btw, is this one case-insensitive? why not --disable-SimleXML?). The point is that in some places you don't have to know the exact casing. So, why would I have to know when checking for an extension existence? More importantly, is it possible currently to have both Myext and myext enabled? I'd say there might be more arguments for case-insensitive solution here. -- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] ---------------------------------------------------- PGP: 19359DC1 # Blog: https://kolabian.wordpress.com