Some handy PHP functions and classes that i use.