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