error_reporting
-------------------------------------------------------------------------------- ----Sets which PHP errors are reported 设置PHP错误报告The error_reporting() function sets the error_reporting directory at runtime.PHP has many levels of errors,using this function sets that level for the duration(runtime) of your script.If the optional level7 is not set,error_reporting() will just return the current reporting level.
error_reporting() 函数在运行的时候设置error_reporting目录.
PHP有很多的错误,使用此功能设置你的script.如果你选购的水平是没有设置的持续时间(运行时),打开error_reporting() 方法会返回当前的错误报告级别.E_CORE_ERROR(integer)
在PHP初始化启动过程中发生的启动致命错误.该错误类似E_ERROR,但是由PHP引擎核心产生.E_CORE_WANING
PHP初始化启动过程中发生的警告(非致命错误).该错误类似E_WARNING,但是是由PHP引擎核心产生的. ini_set(PHP4, PHP5)ini_set -- Sets the value of a configuration option设置一个配置选项的值string ini_set ( string $arname, string $newvalue )
Sets the value of the given configuration option.The configureaiton option will keep this new value during the script's exception, and will be restored at the script's ending .set_magic_quotes_runtime
set_magic_quotes_runtime -- Sets the current active configuration setting of magic_quotes_runtimebool set_magic_configuration_runtime( bool $new_setting )Set the current active configuration setting of magic_quotes_runtime自5.3后,已经废弃此函数,建议不要再使用tmpfile 建立一个临时文件