Re: Fix for #53727 (is_subclass_of resolution with interfaces)
| From: | Ralph Schindler | Date: | Wed, 29 Jun 2011 19:49:40 +0000 |
| Subject: | Re: Fix for #53727 (is_subclass_of resolution with interfaces) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53676@lists.php.net to get a copy of this message | ||
Correct.
I was hasty in that example, the first was copied & tested (and is reflected in the test, as is that variation of what I wrote up.)
Either way, test and patch work in 5_3.
Thanks,
-ralph
On 6/29/11 2:42 PM, David Zülke wrote:
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')); // trueTypo there; that should be 'C', not 'B'. David