Fix doc bug #62586 (version_compare, case sensitivity) by adding a note about

case sensitivity.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326719 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2012-07-20 02:24:40 +00:00
parent 15bd95f5d1
commit 90ffb95c20

View file

@ -145,6 +145,15 @@ if (version_compare(PHP_VERSION, '5.0.0', '<')) {
lower than their final release counterparts (like 5.3.0).
</para>
</note>
<note>
<para>
Special version strings such as <literal>alpha</literal> and
<literal>beta</literal> are case sensitive. Version strings from arbitrary
sources that do not adhere to the PHP standard may need to be lowercased
via <function>strtolower</function> before calling
<function>version_compare</function>.
</para>
</note>
</refsect1>
<refsect1 role="seealso">