1. How to Implement a PHP Version Check that Tolerates the Variations of the Version String Formats
Updated on: 2022-07-20
Posted on: 2022-07-20
Many software projects use a convention to number the project version numbers called semver.
This conversion splits the version numbers into three parts: major version, minor version, and patch number.
This possibility helps developers determine if their current version is more recent or older than some other version.
This package parses version string numbers in a way that tolerates variations like putting a v in the front of the version, using needless zero characters before the version number parts, or even missing minor or patch numbers.
It can also normalize the version number strings to comply more with the semver convention.
More ... Post a comment See comments (0) Trackbacks (0)
This conversion splits the version numbers into three parts: major version, minor version, and patch number.
This possibility helps developers determine if their current version is more recent or older than some other version.
This package parses version string numbers in a way that tolerates variations like putting a v in the front of the version, using needless zero characters before the version number parts, or even missing minor or patch numbers.
It can also normalize the version number strings to comply more with the semver convention.
More ... Post a comment See comments (0) Trackbacks (0)