Don't repeat yourself with programming
Top #1 rule of programming:
Don’t repeat yourself.
But why do I need to type the following lines in every new web project?
<?php
function debug($var){
print '<pre>';
var_export($var);
print '</pre>';
}