best self written PHP function. ever.
September 14th, 2007 • php, snippets
Okay, maybe I’m overrating it, but I still love it for debugging purposes… unless you are using the CLI.
[snippet]
function pre($array)
{
echo ‘<pre>’;
echo print_r($array);
echo ‘</pre>’;
}
[/snippet]
Recent Comments