added php snippets