Parses a Composer version into numeric segments plus a trailing stability string.
v prefixes are stripped (a lock file mixes both spellings). A dev- branch has no ordering, so it parses to nothing and comparisons against it are unknown, not false.
v
dev-
unknown
Parses a Composer version into numeric segments plus a trailing stability string.
vprefixes are stripped (a lock file mixes both spellings). Adev-branch has no ordering, so it parses to nothing and comparisons against it areunknown, not false.