PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Configure options> <Error Reporting
Last updated: Fri, 28 Nov 2008

view this page in

Debugging in PHP

About debugging in PHP

PHP does not have an internal debugging facility. You can use one of the external debuggers though. The » Zend IDE includes a debugger, and there are also some free debugger extensions like DBG at » http://dd.cron.ru/dbg/, the » Advanced PHP Debugger (APD) or » Xdebug.



add a note add a note User Contributed Notes
Debugging in PHP
online _ use _ only == hotmail.com
15-Mar-2006 03:41
I still find that printing out variable values at problem points in the code is one of the easiest ways for me to debug.  If you're interested in knowing the full contents of an object/array/scalar, then use

var_dump($var).

Configure options> <Error Reporting
Last updated: Fri, 28 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites