|
Posted by Marcus Bointon on 10/20/57 11:30
On 28 Oct 2005, at 07:46, Richard Davey wrote:
> Friday, October 28, 2005, 7:41:21 AM, you wrote:
>
>> How can I query for PHP version?
>
> phpversion() !
While it's true that that will get you a version string, if you're
going to actually check it, you need:
http://www.php.net/manual/en/function.version-compare.php
to do so reliably. Version strings are messy things.
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
[Back to original message]
|