最赞回答 / Lightonthekey
因为系统常量__function__的前后是两个下划线,你写错了__FUNCTION__ 获得当前函数名使用方法:function getName(){echo __function__;}getName();
2017-03-13