Simplified check for PHP version