note 91816 deleted from function.phpversion by salathe
| From: | salathe@php.net | Date: | Wed, 03 Feb 2016 16:47:42 +0000 |
| Subject: | note 91816 deleted from function.phpversion by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-204841@lists.php.net to get a copy of this message | ||
Note Submitter: bitworks at web dot de
----
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
}
?>