added PATCH version as well

aligns with `version_compare()` from earlier 5.2 PHP versions. Tests are passing.