On 30/06/11 11:13, Matt Pelmear wrote: > Seems odd to me that is_subclass_of returns true for interfaces... I never > realized that before. > > Personally I would prefer a separate method to check for interfaces, since > they aren't really classes (at least in my head), but I suppose that would > break BC. (I've always wanted a method for checking if a class implements an > interface.) > So, maybe this patch makes sense to me, and some additional method for > checking only interfaces would be nice? (I can't think of a good name for > such a method.) Thoughts? > > -Matt > On Jun 29, 2011 5:26 PM, "Ralph Schindler" <ra...@smashlabs.com> wrote: >
As in class_implements() (shown in Ralph's example)? David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php