note 70665 deleted from function.version-compare by danbrown

From: Date: Sun, 20 Jul 2008 01:19:52 +0000
Subject: note 70665 deleted from function.version-compare by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141906@lists.php.net to get a copy of this message
Note Submitter: MagicalTux at ookoo dot org ---- To answer elmuerte's note (06-Jul-2006 03:24), you'd even better remove spaces than replacing them. <?php version_compare("1.0.0.0beta1", "1.0.0.0alpha2") == 1; // good version_compare("1.0.0.0-beta 1", "1.0.0.0-alpha 2") == 1; version_compare("1.0.0.0.beta 1", "1.0.0.0.alpha 2") == 1; version_compare("1.0.0.0.beta.1", "1.0.0.0.alpha.2") == 1; ?>

« previous php.notes (#141906) next »