0
我有一个问题,可能不适合大多数人。 很抱歉,如果它是你明显...内一类:从函数B访问函数A
这是我的代码:
class Bat
{
public function test()
{
echo"ici";
exit();
}
public function test2()
{
$this->test();
}
}
在我的控制器:
bat::test2();
我有一个错误:
Exception information: Message: Method "test" does not exist and was not trapped in __call()
是什么FbHelper与蝙蝠呢? –