Modify php snippets.