Smart tools for PHP 5.3