Re: Direction for the Function Renaming Effort
| From: | Andrei Zmievski | Date: | Fri, 09 Feb 2001 15:29:30 +0000 |
| Subject: | Re: Direction for the Function Renaming Effort | ||
| References: | 1 2 3 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-2369@lists.php.net to get a copy of this message | ||
On Fri, 09 Feb 2001, Zeev Suraski wrote:
> Being case-sensitive in function names was something that Andi and I wanted
> to do in the days of the initial PHP 3.0 parser (and the initial parser was
> indeed case sensitive, and actually didn't allow functions and variables
> with the same name, like C :). We decided to give this up because PHP/FI
> 2.0 was already around with 15,000 domains. We should have had more vision :I
>
> At any rate, enabling case sensitivity is possible and very easy to do. We
> can easily do it selectively, so that it can be configured in the INI file
> or even in runtime. We need to think about it some more, though, and
> decide whether this is a good idea.
If you do it for functions, do it for classes as well.
-Andrei
"The secret of flying is to throw yourself
at the ground, and miss." -- Douglas Adams