Hi all,

On Sun, Dec 21, 2014 at 7:01 AM, F & N Laupretre <nf.laupre...@yahoo.fr>
wrote:

> 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.
>

Defining

thisismyfunction() {}

then call it

THISisMYFunction()

is not recommended at all. Keeping not recommended spec forever is not
a good idea. IMHO. Using strtolower() all over place in the Engine to keep
running not recommended code does not make much sense.

It's BC, but it would be easy spot it by an compatibility check script. Once
case is used properly, scripts run both new and old PHP. Therefore,
BC issue is not critical.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to