Some usefull PHP 5.x classes