note 110836 rejected from function.is-subclass-of by danbrown
| From: | danbrown@php.net | Date: | Thu, 13 Dec 2012 15:59:24 +0000 |
| Subject: | note 110836 rejected from function.is-subclass-of by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192512@lists.php.net to get a copy of this message | ||
Note Submitter: joel dot bout at tudor dot lu
----
Warning, the behaviour of is_subclass_of has changed between php 5.3.3 and php 5.3.10
interface I {
}
class A implements I {
}
echo (is_subclass_of('A', 'I') ? "true" : "false");
for php 5.3.10 (and 5.4.4) this returns: true
for php 5.3.3 this returns: false