mailto:[EMAIL PROTECTED]
> Sent: Thursday, 13 May 2004 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] PHP5 - instanceof
>
>
> An instance only exists after it has been instantiated. So
> you can't know
> anything about an instance (== an object) before
An instance only exists after it has been instantiated. So you can't know
anything about an instance (== an object) beforehand. It's like knowing a
person before they are born.
Maybe you mean you want to determine if class B is a subclass of class A.
That's the same problem again. Even if PH
I have been playing with PHP5 and am liking it more and more. But I have one
question about "instanceof"
If you have something like this:
This would echo "BA". That's good, I understand that.
Now the question: Is it possible to determine if B is an instance of A
without instantiating it?
Than
3 matches
Mail list logo