Added some php snippets