note 96732 deleted from function.phpversion by danbrown
| From: | danbrown@php.net | Date: | Mon, 15 Mar 2010 16:37:44 +0000 |
| Subject: | note 96732 deleted from function.phpversion by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-167058@lists.php.net to get a copy of this message | ||
Note Submitter: gt3
----
You can ignore most of the comments below and use the "version_compare()" function that
comes with PHP or the code in example #2 provided by the docs. I don't know why people insist
on reinventing the wheel instead of reading...