note 17965 added to function.version-compare

From: Date: Sat, 05 Jan 2002 10:52:34 +0000
Subject: note 17965 added to function.version-compare
Groups: php.notes 
Request: Send a blank email to php-notes+get-24422@lists.php.net to get a copy of this message
Be aware that this function only works in v4.1.0 and above, I noticed only after implementing. Anyway, here's a little snippet that you can use to check for a minimum version: if (version_compare( phpversion(), "4.1.1") < 0) echo "Minimum version not met."; else echo "You're in!"; -- http://www.php.net/manual/en/function.version-compare.php http://master.php.net/manage/user-notes.php?action=edit+17965 http://master.php.net/manage/user-notes.php?action=delete+17965 http://master.php.net/manage/user-notes.php?action=reject+17965

« previous php.notes (#24422) next »