Re: version_compare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian Smither wrote:
>> 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
> 

As Paul pointed out, maybe your version of PHP was built without the filter_var
function compiled in.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux