note 77101 deleted from function.phpversion by nlopess

From: Date: Mon, 03 Sep 2007 12:08:43 +0000
Subject: note 77101 deleted from function.phpversion by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130129@lists.php.net to get a copy of this message
Note Submitter: natio at phpfox dot com ---- Another method of checking a version (e.g 5.2.0 is 520) could be: <?php if ( (str_replace('.', '', PHP_VERSION)) < 520 ) { die ( 'This script needs PHP 5.2.0 or above!' ); } ?>

« previous php.notes (#130129) next »