Re: Insensitive names for classes

[email protected] ("Colin Viebrock") Mon, 20 Aug 2001 11:48:52 -0400
Newsgroups php.lang
Organization easyDNS Technologies Inc.
Message-ID <[email protected]>
Variable names in PHP are case sensitive.  Function names, class names, and
class methods (really just functions) are not.

There is talk of making them sensitive too ... but you probably won't see it
until PHP 4.1 or 5.0.  In other words, not for a while. :)

Namespaces are also being considered for 4.1, which might solve your problem
too.  But again, not for a while.

You will need to come up with a work-around in the meantime, which probably
means renaming some of your functions or converting strings to lowercase
before comparing them.

- Colin