php的错误级别

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_runtime
bool set_magic_configuration_runtime( bool $new_setting )
Set the current active configuration setting of magic_quotes_runtime
自5.3后,已经废弃此函数,建议不要再使用

tmpfile 建立一个临时文件

 

转载于:https://www.cnblogs.com/sgsheg/archive/2012/11/17/2775428.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值