removed is_php() for PHP5.3 check