3 ms·function preint_r($var) { echo '<pre>'; print_r($var); echo '</pre>'; } true genius!by citricsquid 15y agofunction preint_r($var) { echo '<pre>'; print_r($var); echo '</pre>'; } true genius!danoc 15y agoWhy have I never thought of this?!smoove 15y agoI've got the exact same function (also php) but mine is called print_arr() as in array.owyn 15y agoHeh. Mine is called print_pre.