Re: Fix for #53727 (is_subclass_of resolution with interfaces)
| From: | David Zülke | Date: | Wed, 29 Jun 2011 19:42:46 +0000 |
| Subject: | Re: Fix for #53727 (is_subclass_of resolution with interfaces) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53675@lists.php.net to get a copy of this message | ||
On 29.06.2011, at 21:39, Ralph Schindler wrote:
> interface A {}
> class B implements A {}
> class C extends B {}
> var_dump(is_subclass_of('B', 'A')); // true
Typo there; that should be 'C', not 'B'.
David
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s