News for hackers. Stuff that matters.
Re:Ask HN: What's your most-used function that you wrote you... by citricsquid on Saturday July 16, 2011 @04:20PM (#2771677)

   function preint_r($var)
   {   
      echo '<pre>';
      print_r($var);
      echo '</pre>';
   }
true genius!
Re:Ask HN: What's your most-used function that you wrote you... by smoove on Saturday July 16, 2011 @07:11PM (#2772068)
I've got the exact same function (also php) but mine is called print_arr() as in array.
Re:Ask HN: What's your most-used function that you wrote you... by owyn on Saturday July 16, 2011 @09:00PM (#2772217)
Heh. Mine is called print_pre.
Re:Ask HN: What's your most-used function that you wrote you... by danoc on Saturday July 16, 2011 @06:16PM (#2771949)
Why have I never thought of this?!