[php-src] Issue #8463: method_exists with implements
| From: | ProtocolLive | Date: | Fri, 29 Apr 2022 15:09:01 +0000 |
| Subject: | [php-src] Issue #8463: method_exists with implements | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241327@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8463
Author: ProtocolLive
### Description
abstract class Test implements StbModuleInterface{
static public function Install1(){}
}
var_dump($module); //string(4) "Test"
var_dump(method_exists($module, 'Install')); //bool(true)
abstract class Test{
static public function Install1(){}
}
var_dump($module); //string(4) "Test"
var_dump(method_exists($module, 'Install')); //bool(false)
### PHP Version
8.1.4
### Operating System
Host only says Linux 3.10.0-962.3.2.lve1.5.63.el7.x86_64