Validates and normalizes a version to be a valid PEAR version.
public static validatePear ( string $version ) : string | ||
$version | string | A version string. |
return | string | The normalized version string. |
public static validatePear ( string $version ) : string | ||
$version | string | A version string. |
return | string | The normalized version string. |