2011/8/25 Patrick ALLAERT <patrickalla...@php.net>: > 2011/8/25 Gustavo Lopes <glo...@nebm.ist.utl.pt>: >> You could fetch the parent and do the same check, and so on. > > Checking only the topmost should be enough if traversing the whole > inheritance could be avoided.
Well, of course I highly second the opinion that not making distinction and fixing possible bugs in internal classes is a much better approach. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php