Re: Fix for #53727 (is_subclass_of resolution with interfaces)
| From: | David Zülke | Date: | Wed, 29 Jun 2011 21:10:33 +0000 |
| Subject: | Re: Fix for #53727 (is_subclass_of resolution with interfaces) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53682@lists.php.net to get a copy of this message | ||
On 29.06.2011, at 23:05, Martin Scotta wrote:
> are you kidding, right?
>
> $class = 'stdClass';
> $instance = new $class;
> var_dump( $instance instanceof $class );
That still only works on instances. Not on class names. Which this dicussion is about.
David
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s