|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-01-29 10:42 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 04:00:01 2025 UTC |
Remove the whitespaces: version_compare("2.0beta2", "2.0RC1");