Hi!

> That's annoying as I like to check the right class case on autoload to
> detect mistakes.

I'm not sure I understand this right, but if I do this sounds
contradictory. I.e., if you are trying to autoload the class, you
haven't loaded it yet. If you didn't, how would you know which case is
"right"?

> Are there any reasons to get the called case of the class instead or the
> original one?

The reason is that the former is constant fast operation while the
latter requires actually loading the class. Which is much more expensive.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to