ID: 40270
Updated by: [EMAIL PROTECTED]
Reported By: vin100 at forx dot fr
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
PHP Version: 5.2.0
New Comment:
Remove the whitespaces:
version_compare("2.0beta2", "2.0RC1");
Previous Comments:
------------------------------------------------------------------------
[2007-01-29 10:42:36] vin100 at forx dot fr
Description:
------------
version_compare() failled with 'RC'
Reproduce code:
---------------
var_export(version_compare('2.0 beta 2', '2.0 beta 3'));
var_export(version_compare('2.0 beta 2', '2.0 RC 1'));
Expected result:
----------------
-1-1
Actual result:
--------------
-11
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40270&edit=1