Re: Deprecate and remove case-insensitive constants?
| From: | Rowan Collins | Date: | Wed, 13 Sep 2017 14:06:25 +0000 |
| Subject: | Re: Deprecate and remove case-insensitive constants? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100561@lists.php.net to get a copy of this message | ||
On 13 September 2017 14:15:43 BST, Ryan Pallas <derokorian@gmail.com> wrote:
>I must be missing something, there is no autoloader shipped with PHP.
Just to be pedantically correct, there actually is an implementation shipped, see http://php.net/spl_autoload It's even the default if you
don't pass your own function to spl_autoload_register.
Nonetheless, you are quite right that Tony's complaint is nonsensical, because he could
implement whatever autoloader suited his directory structure, if he wanted to - even a case
insensitive one.
It is true that autoloading isn't mandatory, but it's also a complete straw man, because
Sara already made the same point herself:
> I don't feel as though that's true of ...
> projects where autoloaders
> aren't used (not a small number).
Regards,
--
Rowan Collins
[IMSoP]