Added condition for PHP 5.2