debugging

At some point in the writing of code, the time comes to try and determine why it isn't working as intended. [Well, not MY code, but I'm writing this for everyone else -JAG] If you've had the need to investigate the contents of an array or object in php, you've probably seen something like this:


print_r($myarray);
<pre>Array ( [0] => Array ( [0] => Array ( [0] => apple [1] => orange [2] => banana ) [1] => Array ( [0] => apple [1] => orange [2] => banana ) ) [1] => Array ( [0] => apple [1] => orange [2] => banana ) [2] => Array ( [0] => Array ( [0] => apple [1] => orange [2] => banana ) [1] => Array ( [0] => apple [1] => orange [2] => banana ) ) ) </pre>
Subscribe to RSS - debugging
©2005-2017 Ayen Designs. Underlying theme by Kiwi Themes.