On 30/06/11 15:01, Matt Pelmear wrote: > Not like class_implements(), since that requires processing the returned > array... Rather something that would function similarly to is_subclass_of() > (in that it returns a bool, not an array), but for interfaces. > I seem to run into a need for that on a fairly regular basis. (when I first > found class_implements() this is what I thought it did before reading the > docs) > > -matt
Oops. My bad. Missed the array_key_exists() part in the example. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php