note 53697 deleted from function.version-compare by aidan
| From: | aidan@php.net | Date: | Fri, 07 Oct 2005 23:53:56 +0000 |
| Subject: | note 53697 deleted from function.version-compare by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-96584@lists.php.net to get a copy of this message | ||
Note Submitter: Cranky
----
Be carrefull :
$r = version_compare(PHP_VERSION, '4.2.0', 'ge')
with PHP_VERSION => 4.3.10-15
$r contain 1 but gettype($r) return boolean and not integer as expected so I doesn't work if
you use === in your test