Bug #62586 [Com]: version_compare, case sensitivity

From: Date: Tue, 17 Jul 2012 10:58:14 +0000
Subject: Bug #62586 [Com]: version_compare, case sensitivity
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172033@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62586&edit=1 ID: 62586 Comment by: dattaya108 at gmail dot com Reported by: dattaya108 at gmail dot com Summary: version_compare, case sensitivity Status: Open Type: Bug Package: Unknown/Other Function Operating System: Linux PHP Version: 5.3.14 Block user comment: N Private report: N New Comment: Is there a page in the documentation that describes what's a "PHP-standardized" version number? Previous Comments: ------------------------------------------------------------------------ [2012-07-17 10:54:02] dattaya108 at gmail dot com Description: ------------ Is this behavior intentional? If so, should the bug type be changed to 'documentation problem'? Test script: --------------- var_dump(version_compare('2.1.0-DEV', '2.1.0-dev')); Expected result: ---------------- bool(false) Actual result: -------------- bool(true) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62586&edit=1

« previous php.bugs (#172033) next »