1、get_class() 返回对象的类名"app\admin\controller\Settings"
2、get_parent_class()获得父类的名字
3、method_exists($this,‘read’)判断类中方法是否存在,返回bool
4、property_exists ( mixed $class , string $property ) : bool检查对象或类是否具有该属性
5、get_included_files()返回被 include 和 require 文件名的 array 同get_required_files()
6、get_class_methods($this)返回类中方法名的数组:
7、define (‘E_ERROR’, 1); 常量
8、define (‘SORT_REGULAR’, 0); define (‘CASE_LOWER’, 0);
9、serialize(this->cloud_service_settings)与unserialize(self::$cloud_service_provider);//序列化和反序列化
10、headers_list()’返回已发送的 HTTP 响应头(或准备发送的)
11、gethostname()获取电脑的主机名
12、gethostbyname(gethostname())获取内网ip
13、pi() 得到圆周率值
14、pathinfo(“app\admin\controller\Settings.php”)
array:4 [▼
"dirname" => "app\admin\controller"
"basename" => "Settings.php"
"extension" => "php"
"filename" => "Settings"
]