__LINE__:获取文件中的当前行数;
__FIEL__:文件完整的路径和文件名;
__DIR__:当前文件所在的目录;
__FUNCTION__:返回当前定义的函数名称;
__CLASS__:返回当前类名;
__METHOD__:返回当前的方法名;
__TRAIT__:返回当前声明的trait类的名称;
__NAMESPACE__:返回当前声明的空间的名称
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!