> > 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.
is_a($a, 'parserDesc') would work for you in both 4 and 5 (well, I assume in 5). -chuck -- Charles Hagenbuch, <[EMAIL PROTECTED]> "Here, I brought some cole slaw. It's made from peeeooople! Just kidding." -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php