Create php-snips.php

A few snips from wordpress and php