46 useful PHP code Snippets that can help you with your PHP projects