Various utils classes for PHP