Small, short code snippets that other people may find useful. Do you have a good regex that you would like to share? Share it! Even better, the code can be commented on, and improved.
This simple function will print out the file and line from which it was called, as well as dump in an orderly fashion the array it was passed. I've found this much more helpful than just calling print_r($someArray).