note 75656 added to function.version-compare

From: Date: Mon, 11 Jun 2007 00:01:08 +0000
Subject: note 75656 added to function.version-compare
Groups: php.notes 
Request: Send a blank email to php-notes+get-127370@lists.php.net to get a copy of this message
Something that may trip some folks up, but is useful to mention is that the following version comparison does not work quite as I expected: version_compare('1.0.1', '1.0pl1', '>') However, its quite easy to get working: version_compare('1.0.1', '1.0.0pl1', '>') ---- Server IP: 203.16.234.90 Probable Submitter: 202.7.176.133 (proxied: 60.240.112.111) ---- Manual Page -- http://www.php.net/manual/en/function.version-compare.php Edit -- https://master.php.net/note/edit/75656 Del: integrated -- https://master.php.net/note/delete/75656/integrated Del: useless -- https://master.php.net/note/delete/75656/useless Del: bad code -- https://master.php.net/note/delete/75656/bad+code Del: spam -- https://master.php.net/note/delete/75656/spam Del: non-english -- https://master.php.net/note/delete/75656/non-english Del: in docs -- https://master.php.net/note/delete/75656/in+docs Del: other reasons-- https://master.php.net/note/delete/75656 Reject -- https://master.php.net/note/reject/75656 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127370) next »