http://www.catswhocode.com/blog/10-awesome-php-functions-and-snippets?utm_source=feedly