Re: version_compare
| From: | Brian Smither | Date: | Thu, 30 Sep 2010 16:52:55 +0000 |
| Subject: | Re: version_compare | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308371@lists.php.net to get a copy of this message | ||
>Personally, I would change that to be
>if ( function_exists('filter_var') ) {
So would I:
*But it's not my code.
*I wish to learn and understand the cause of the problem - not walk around it.
>It means condition (PHP_VERSION >= 5.2.0)
I understand that. There was a second, more relevant, part to my question.
I have found the version of PHP used as reported in the HTTP header responses.
filter_var() is undefined in PHP/5.2.4_p20070914-pl2-gentoo