diff --git a/reference/info/functions/version-compare.xml b/reference/info/functions/version-compare.xml index d01a2e4685..e41c084fcc 100644 --- a/reference/info/functions/version-compare.xml +++ b/reference/info/functions/version-compare.xml @@ -27,12 +27,14 @@ splits the results like if you were using explode('.', $ver). Then it compares the parts starting from left to right. If a part contains special version strings these are handled in the following order: + any string not found in this list < dev < alpha = a < beta = - b < RC < - pl. This way not only versions with different levels - like '4.1' and '4.1.2' can be compared but also any PHP specific version - containing development state. + b < RC = + rc < # < + pl = p. This way not only versions + with different levels like '4.1' and '4.1.2' can be compared but also any + PHP specific version containing development state.