Closed pinguo-zhanglu closed 6 years ago
https://github.com/pinguo/php-msf/blob/716a097b9f562dfbee9889277cf26e09c4d4d5a2/src/HttpServer.php#L101
当httpEnable为false时,调用父类Server::start(),Server没有实现start成员函数,只能调用魔术方法__call
httpEnable
Server::start()
Server
start
__call
public function __call($name, $arguments) { return $this->server->$name(...$arguments); }
但是,$this->server还没有实例化。
https://github.com/pinguo/php-msf/blob/716a097b9f562dfbee9889277cf26e09c4d4d5a2/src/HttpServer.php#L101
当
httpEnable
为false时,调用父类Server::start()
,Server
没有实现start
成员函数,只能调用魔术方法__call
但是,$this->server还没有实例化。