note 73126 deleted from function.phpversion by bobby

From: Date: Tue, 20 Mar 2007 18:03:16 +0000
Subject: note 73126 deleted from function.phpversion by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124641@lists.php.net to get a copy of this message
Note Submitter: mauron at maurtopia dot com ---- A faster way to check the version of PHP being used is this code. <?php if (strpos(phpversion(), 5) === 0) $is5 = true; else $is5 = false; ?> For the most part the difference won't matter, but if you're running a site with large amounts of traffic it's worth keeping in mind.

« previous php.notes (#124641) next »