这里举个例子,假如我执行了一个PHP的脚本,如php test.php,预期是可以返回一个字符串。
但执行后没有任何信息输出,这时候通过什么方法能知道程序错在哪里?这里可以将解决问题能力分
为8个等级,越到后面的表示能力越强。
ini_set('display_errors',1);
error_reporting(E_ALL);
http://rango.swoole.com/archives/340
http://www.cnblogs.com/JohnABC/p/5680470.html
http://www.syyong.com/php/Using-strace-GDB-and-tcpdump-debugging-tools-in-PHP.html
http://hilojack.com/p/php-debug
http://wiki.swoole.com/wiki/page/442.html
http://www.xuebuyuan.com/73074.html
http://blog.chinaunix.net/uid-20237628-id-3946009.html
http://blog.youkuaiyun.com/fuxingdaima/article/details/8642609
http://www.cnblogs.com/JohnABC/p/5680470.html
http://www.ibm.com/developerworks/cn/opensource/os-php-xdebug/index.html