Posted By

dbugger on 03/30/11


Tagged

php


Versions (?)

better var_dump


 / Published in: PHP
 

  1. /**
  2.  * pr function
  3.  *
  4.  * @param mixed $var
  5.  * @return void
  6.  * @author Moz Morris
  7.  */
  8. function pr($var) {
  9. echo '<pre>';
  10. print_r($var);
  11. echo '</pre>';
  12. }

Report this snippet  

You need to login to post a comment.