Re: Complete case-sensitivity in PHP
| From: | Johannes Schlüter | Date: | Fri, 20 Apr 2012 23:56:04 +0000 |
| Subject: | Re: Complete case-sensitivity in PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60248@lists.php.net to get a copy of this message | ||
On Sat, 2012-04-21 at 01:16 +0200, Stefan Neufeind wrote:
> I think we might possibly add a
> special kind of "deprecation" where the non-matching case would still
> work but (if you activate those deprecation-warnings) would trigger
> warnings so you can clean up your code.
yay - two lookups instead of one ;-)
and what would you do in this strange, but possible case:
The functions Foo() and FOO() exist but the user calls foo()?
johannes