added more php snippets