php snippets in my work and everyday life