adding php snippets