|
Posted by Joshua Frank on 10/04/69 11:45
Thanks. That did the trick. Incidentally, I spent a while googling
this without finding this info. I tried quite a few combinations of
words like type, interface, typeof, etc... without finding these terms.
I did try, really.
Thanks again.
Wayne wrote:
> On Thu, 20 Apr 2006 12:57:48 -0400, Joshua Frank
> <jfrank@archimetrics.remove-luncheon-meat.com> wrote:
>
>> Hi All,
>>
>> How can you tell if an object supports an interface? I've got a
>> situation where I need to tell if an object implements Iterator, but
>> there doesn't seem to be any operator like typeof that would let you do
>
> You really didn't look hard enough!
>
> In PHP4, use the is_a() function.
> In PHP4, use the instanceof operator.
>
*** Posted via a free Usenet account from http://www.teranews.com ***
[Back to original message]
|