List of useful snippets of PHP