Re: Consistent case-insensitive module registry lookups

From: Date: Tue, 18 Aug 2026 13:04:30 +0000
Subject: Re: Consistent case-insensitive module registry lookups
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-132258@lists.php.net to get a copy of this message
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

« previous php.internals (#132258) next »