Here is something useful that I created.
If I develop a site and need to output data for debugging, I will have to constantly print arrays.
At some point during coding, I’ll have to comment some code out with the good ‘ol forward slashes ‘//
‘
So I came up with this:
<?php
/* * /
echo '<pre>';
print_r($_REQUEST);
echo '</pre>';
/* */
?>
Notice the space between the second * and the /
Want the code to show? Delete the space.
Nice and simple.