note 15977 deleted from function.phpversion by jimw

From: Date: Tue, 18 Dec 2001 19:56:43 +0000
Subject: note 15977 deleted from function.phpversion by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23186@lists.php.net to get a copy of this message
except, commenting on the above, that if PHP version is >= 10.n.n, then the expression is false. if all you need is to check that the version is >= 4, then this (though maybe not perfect in concept, either) works:<br><br>list($majver) = explode(".",phpversion());<br>$goodver = ($majver >= 4);

« previous php.notes (#23186) next »