Posted By

n3xu5_0 on 10/19/10


Tagged

debug


Versions (?)

Debug function


 / Published in: PHP
 

A simple function to make debug easier

  1. function debug($var)
  2. {
  3. echo '<pre>' . nl2br(print_r($var,true)) . '</pre>';
  4. }

Report this snippet  

You need to login to post a comment.