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).
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.
Debugging in PHP
online _ use _ only == hotmail.com
15-Mar-2006 03:41
15-Mar-2006 03:41
