Fixing php snippets.