php獲取、檢查類名、函數(shù)名、方法名的函數(shù)方法
1.function_exists() - Return TRUE if the given function has been defined2.is_callable() - 檢測參數(shù)是否為合法的可調(diào)用結(jié)構(gòu)3.class_exists() - 檢查類是否已定義4.method_exists() - 檢查類的方法是否存在__FUNCTION__ 函數(shù)名稱(PH
巴扎黑 2017-01-21 15:22:35 0 0 226