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
[EMAIL PROTECTED] | http://www.synchromedia.co.uk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to