A bunch of code snippets i'm using for PHP coding