Re: Proposal for PHP 7 : case-sensitive symbols
| From: | Pierre Joye | Date: | Sun, 21 Dec 2014 05:20:13 +0000 |
| Subject: | Re: Proposal for PHP 7 : case-sensitive symbols | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79840@lists.php.net to get a copy of this message | ||
On Sun, Dec 21, 2014 at 9:01 AM, F & N Laupretre <nf.laupretre@yahoo.fr> wrote:
> Hi,
>
>
>
> I don't know if this was discussed before. So, tell me what you think before
> I write an RFC.
>
>
>
> I would like to propose that namespaces, functions, and classes become
> case-sensitive (constants are already case-sensitive). Actually, I never
> understood why they are case-insensitive. Even if the performance gain is
> negligible, I think it could be the right time to question this.
I have hard time to see the benefits of breaking so many codes for that.
Userland codes use to rely on case sensitivity naming, based on coding
standard. But for internals names, it is going to be a major pain.
Cheers,
Pierre