svn: /phpdoc/en/trunk/reference/info/functions/ version-compare.xml
| From: | Karoly Negyesi | Date: | Wed, 29 Jul 2009 19:06:49 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/info/functions/ version-compare.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4554@lists.php.net to get a copy of this message | ||
chx Wed, 29 Jul 2009 19:06:49 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286529
Log:
listing everything version compare knows about
Changed paths:
U phpdoc/en/trunk/reference/info/functions/version-compare.xml
Modified: phpdoc/en/trunk/reference/info/functions/version-compare.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/version-compare.xml 2009-07-29 18:29:12 UTC (rev
286528)
+++ phpdoc/en/trunk/reference/info/functions/version-compare.xml 2009-07-29 19:06:49 UTC (rev
286529)
@@ -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:
+ <literal>any string not found in this list</literal> <
<literal>dev</literal> < <literal>alpha</literal> =
<literal>a</literal> < <literal>beta</literal> =
- <literal>b</literal> < <literal>RC</literal> <
- <literal>pl</literal>. 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.
+ <literal>b</literal> < <literal>RC</literal> =
+ <literal>rc</literal> < <literal>#</literal> <
+ <literal>pl</literal> = <literal>p</literal>. 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.
</para>
</refsect1>