SyntaxFix
Write A Post
Hire A Developer
Questions
Similar to karim's, but with print_r which has a much small output and I find is usually all you need:
function PrintR($var) { echo '<pre>'; print_r($var); echo '</pre>'; }