/*可以加多个方法哟!*/ if (!function_exists('_sp_helloworld')) { function _sp_helloworld(){ echo "hello ThinkCMF!"; } } if (!function_exists('_sp_helloworld2')) { function _sp_helloworld2(){ echo "hello ThinkCMF2!"; } } if (!function_exists('_sp_helloworld3')) { function _sp_helloworld3(){ echo "hello ThinkCMF3!"; } }