最贊回答 / Lightonthekey
因為系統常量__function__的前后是兩個下劃線,你寫錯了__FUNCTION__ 獲得當前函數名使用方法:function getName(){echo __function__;}getName();
2017-03-13