【发布时间】:2015-04-06 19:08:48
【问题描述】:
您好,我不会说英语(谷歌翻译)为翻译道歉,我想做这样的事情:
class First_class extends Second_class
{
function first_class_function ()
{
echo $this->second_class_function ();
}
}
class Second_class
{
function second_class_function ()
{
return "function name which call this function" // in this case first_class_function
}
}
这可能吗?
【问题讨论】:
-
你测试了吗?!?
标签: php function class extends