I want to do some basic debugging with print_r.
When PHP hits that line I want it to stop or end whatever people usually do, so I can see the output.
I want to do some basic debugging with print_r.
When PHP hits that line I want it to stop or end whatever people usually do, so I can see the output.
// if you want a one liner:
die(print_r($stuff, true ));
You'd really enjoy a proper debugger though