HN2new | past | comments | ask | show | jobs | submitlogin

   function preint_r($var)
   {   
      echo '<pre>';
      print_r($var);
      echo '</pre>';
   }
true genius!


I've got the exact same function (also php) but mine is called print_arr() as in array.


Heh. Mine is called print_pre.


Why have I never thought of this?!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: