php调试技术手册,Php调试技术手册发布(1.0.0 pdf)

1. PHP 1.0.0 heiyeluren (http://blog.csdn.net/heiyeshuwu) laruence (http://www.laruence.com/) 2010-6-13

2. PHP 1.0.0 1 API .................................................................................................................................... 2 1.1 API ............................................................................................................................................... 2 1.1.1 echo (print): ......................................................................................................................................... 2 1.1.2 printf .................................................................................................................................................... 2 1.1.3 print_rvar_dump(var_export)debug_zval_dump......................................................................... 3 1.2 ........................................................................................................................... 6 1.2.1 .................................................................................................................................... 6 1.2.2 ................................................................................................................................ 8 1.2.3 ...............................................................................................................................11 1.2.4 ...........................................................................................................................................112 ............................................................................................................................................... 13 2.1 ............................................................................................................................................. 13 2.2 FirePHP .............................................................................................................................................. 14 2.2.1 .................................................................................................................................. 15 2.2.2 ...................................................................................................................................... 17 2.2.3 .................................................................................................................................. 18 2.2.4 ...................................................................................................................................... 183 IDE .................................................................................................................................................... 19 3.1 IDE .................................................................................................................................... 19 3.1.1 Vim .................................................................................................................................................... 19 3.1.2 Zend Studio ....................................................................................................................................... 19 3.1.3 Eclipse ............................................................................................................................................... 21 3.1.4 NetBeans ........................................................................................................................................... 22 3.2 IDE ...................................................................................................................................................... 23 3.2.1 Zend Studio + Zend Debugger .......................................................................................................... 23 3.2.2 Eclipse (PDT) + Xdebug ................................................................................................................... 31 3.2.3 Vim + Xdebug + DBGp..................................................................................................................... 374 PHP .................................................................................................................................... 39 4.1 ..................................................................................................................................... 39 4.2 Xdebug .................................................................................................................... 39 4.2.1 ...................................................................................................................................... 41 4.3 APD(Advanced PHP Debugger) .................................................................................................................. 46 4.3.1 .......................................................................................................................................... 46 4.3.2 APD ......................................................................................................................................... 46 4.4 Xhprof ...................................................................................................................... 47 4.4.1 Xhprof ............................................................................................................................. 475 PHP .................................................................................................................................... 51 5.1 PHPUnit ....................................................................................................................................................... 51 / 1 51

3. PHP 1.0.01 API API PHP APIecho (print)print_rvar_dump(var_export)debug_zval_dumpdebug_print_backtrace(debug_backtrace) display_errorslog_errorserror_reportingerror_log1.1 API1.1.1 echo (print):1.1.2 printf printf , PHP ,.: : / 2 51

4. PHP 1.0.0 , , printf : :1.1.3 print_rvar_dump(var_export)debug_zval_dump APIvar_dump : / 3 51

5. PHP 1.0.0[rint_r var_dump false NULL var_export / 4 51

6. PHP 1.0.0, var_export NULL[1] debug_zval_dump var_dump refcount php copy on write () [2] debug_print_backtrace :. 1.1 var_export var_dump : http://www.laruence.com/2008/04/03/15.html2 PHP : http://tech.sina.com.cn/s/2006-10-26/09151204364.shtm PHP : http://www.laruence.com/2008/09/19/520.html / 5 51

7. PHP 1.0.01.2 1.2.1 Php.ini error_reportingdisplay_errorslog_errorserror_log Error_reporting PHP PHP value constant 1 E_ERROR 2 E_WARNING 4 E_PARSE 8 E_NOTICE 16 E_CORE_ERROR 32 E_CORE_WARNING 64 E_COMPILE_ERROR 128 E_COMPILE_WARNING 256 E_USER_ERROR 512 E_USER_WARNING 1024 E_USER_NOTICE 6143 E_ALL 2048 E_STRICT 4096 E_RECOVERABLE_ERROR E_ALL E_STRICT , Notice / 6 51

8. PHP 1.0.0 error_reporting = E_ALL & ~E_NOTICE Notic (Notice ) Notice Notice Warning (Warning ) ()Error_reporting PHP / 7 51

9. PHP 1.0.0display_errors PHP display_errors Off log_errors Off log_errors error_log error_reporting PHP 1.2.2 throw catch trigger_errorset_error_handlerset_exception_handler api trgger_error error_reporting E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE Fatal ErrorWarningNotice trigger_error / 8 51

10. PHP 1.0.0set_error_handler trigger_error: / 9 51

11. PHP 1.0.0 Set_exception_

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值