/** * Compare the "PHP-standardized" version number string with the * current loaded GD. * * @param string $version * @param string $operator * @return boolean * @static */ function compareGDVersion($version, $operator) { return version_compare(Image_Tools_Utils::getGDVersion(), $version, $operator); }