Re: [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclus ion(?)]
| From: | Marko Karppinen | Date: | Wed, 06 Feb 2002 11:40:16 +0000 |
| Subject: | Re: [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclus ion(?)] | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79343@lists.php.net to get a copy of this message | ||
Marc wrote:
> I don't think people should write code that differentiates by case, but
> case-sensitive coding leads to consistency in naming, so you will not read
> MySQL_ConneCt somewhere and mysql_connect somewhere else, while it means the
> same thing...
If you just want to promote case-accurate usage of the built-in functions,
you could just start throwing E_NOTICEs or E_WARNINGs when the functions are
called with a differing case. Being case-sensitive just for this seems
overkill to me.
--Marko