note 91816 modified in function.phpversion by danbrown

From: Date: Fri, 26 Jun 2009 14:43:32 +0000
Subject: note 91816 modified in function.phpversion by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157544@lists.php.net to get a copy of this message
to realize if the actual version ist newer than '5.2.10' simply use: <?php if (strnatcmp(phpversion(),'5.2.10') >= 0) { # equal or newer } else { # not sufficiant } ?> --was-- to realize if the actual version ist newer than '5.2.10' simply use: if (strnatcmp(phpversion(),'5.2.10') >= 0) { # equal or newer } else { # not sufficiant } http://php.net/manual/en/function.phpversion.php

« previous php.notes (#157544) next »