php snippets

initial import of PHP snippets