git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129734 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mark Wiesemann 2003-06-01 15:18:04 +00:00
parent ed3bbe4f62
commit 4e19a48811

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
<refentry id="function.version-compare">
<refnamediv>
@ -34,8 +34,8 @@
and <literal>+</literal> with a dot <literal>.</literal> in the version
strings and also inserts dots <literal>.</literal> before and after any
non number so that for example '4.3.2RC1' becomes '4.3.2.RC.1'. Then it
splits the results like if you were using explode('.',$ver). The it
compares the parts startinig from left to right. If a part contains
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:
<literal>dev</literal> &lt; <literal>alpha</literal> &lt;
<literal>a</literal> &lt; <literal>beta</literal> &lt;