PHP-scream扩展(使@失效)
来源:互联网 发布:linux设置域名服务器 编辑:程序博客网 时间:2024/04/29 14:32
需要安装
// Make sure errors will be shownini_set('display_errors', true);error_reporting(E_ALL);// Disable scream - this is the default and produce an errorini_set('scream.enabled', false);echo "Opening http://example.com/not-existing-file\n";@fopen('http://example.com/not-existing-file', 'r');// Now enable scream and try againini_set('scream.enabled', true);echo "Opening http://example.com/not-existing-file\n";@fopen('http://example.com/another-not-existing-file', 'r');
输出
Opening http://example.com/not-existing-fileOpening http://example.com/not-existing-file
//开启scream后任然会报错Warning: fopen(http://example.com/another-not-existing-file): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in example.php on line 14
- PHP-scream扩展(使@失效)
- IIS下开启php扩展失效?
- IIS下开启php扩展失效? IIS下开启php扩展gd2失效?
- PHP flush 失效问题 (实时显示)
- swig扩展php(一)
- swig扩展php(二)
- php扩展开发(2)
- php扩展开发(3)
- php扩展深入(3)
- php 扩展开发(一)
- PHP 扩展开发(一)
- session 失效时间 php
- php session失效
- php $_SERVER['path_info'] 失效
- 扩展 PHP
- php 扩展
- php扩展
- php 扩展
- 常见的产品需求获取来源
- hibernate ID生成策略(sequence)
- 中国的名犬-
- 对称子字符串的最大长度
- cocoa应用程序创建DMG打包发布
- PHP-scream扩展(使@失效)
- JAVA MemCache 史无前例的详细讲解!看完包精通MEMCACHE!
- Core Java第十六章知识点总结——反射
- 从TQ2440开发板学习各接口
- 多一点余量,少一点尴尬
- 字符串常量
- TrackBack
- HTML 5中的存储及离线应用(二)
- zookeeper Client Session 0x0 for server null