Changed version check from using PHP_MINOR_VERSION into version_compare function