__METHOD__ 返回类名和方法的名字;. 返回类的名字和方法的名字。 class Test{ public function doit(){ echo __FUNCTION__; //output doit }
確定! 回上一頁