Re: Re: RC1, instanceof?
| From: | Daniel Convissor | Date: | Tue, 09 Aug 2005 22:38:49 +0000 |
| Subject: | Re: Re: RC1, instanceof? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17757@lists.php.net to get a copy of this message | ||
On Tue, Aug 09, 2005 at 02:07:27PM -0400, George Schlossnagle wrote:
>
> if(class_exists('MyFoo') && $obj instanceof MyFoo) { }
Unfortunately, class_exists() still calls __autoload(). Un-deprecating
is_a() seems to be an easy way to resolve this situation.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409