Common tools for PHP