会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hell0x
博客园
首页
新随笔
联系
订阅
管理
2016年6月23日
PHP错误和异常处理
摘要: 一、PHP错误处理的三种方式 1.die()语句,等价于exit() file_exists('test.txt') or die('文件不存在'); 2.自定义错误和错误触发器 a)错误触发器 trigger_error():产生一个用户级别的error/warning/notice信息 <?ph
阅读全文
posted @ 2016-06-23 16:11 hell0x
阅读(161)
评论(0)
推荐(0)
编辑
公告