Posted By

shodan_uk on 03/30/11


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

nbegiter
dbugger
ekarakas


Nicer print_r


 / 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  

Comments

RSS Icon Subscribe to comments
Posted By: dbugger on March 30, 2011

Very needed!

You need to login to post a comment.