Re: Proposal for PHP 7 : case-sensitive symbols
| From: | Andrea Faulds | Date: | Mon, 22 Dec 2014 00:43:20 +0000 |
| Subject: | Re: Proposal for PHP 7 : case-sensitive symbols | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79855@lists.php.net to get a copy of this message | ||
Hey,
> On 21 Dec 2014, at 23:33, David Muir <davidkmuir@gmail.com> wrote:
>
> The insensitivity makes code brittle. Sometimes the same code will run fine, and other times it
> breaks depending on what lines triggered the auto loader. If you instantiate a Foo instance first,
> then instantiate a new foo, the code runs fine, but if you try to instantiate a new foo first, we
> get a fatal error.
I’d say that’s not the fault of insensitivity, but the fault of poorly-written autoloaders.
Thanks.
--
Andrea Faulds
http://ajf.me/