Re: is get_class() case-sensitive now?
| From: | Marcus Boerger | Date: | Wed, 14 Jan 2004 21:44:07 +0000 |
| Subject: | Re: is get_class() case-sensitive now? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7115@lists.php.net to get a copy of this message | ||
Hello Greg,
Wednesday, January 14, 2004, 10:18:01 PM, you wrote:
> Hi,
> I just tried a test parse of phpDocumentor CVS using a fresh compile of
> HEAD on windows xp. It went bananas with warnings and a fatal error.
> Tracking down the error turned up get_class() returning "parserDesc"
> instead of "parserdesc", which ruins every time I test whether
> get_class($a) == 'parserdesc', for example.
> This is such a huge BC break with php 4.x, I would have to fork the
> package just because of the numerous get_class() statements.
> Is case-sensitive get_class() here to stay?
Yes. We now report classes, methods and functions with their real name.
Otherwise studlyCaps and such would have no sense at all.
--
Best regards,
Marcus mailto:helly@php.net