Call to undefined function filter_var()
===

After transfering my site from hosting to another hosting i got this error:
Fatal error: Call to undefined function filter_var() in /home/ultrastep/ultrastep.ru/docs/sites/all/modules/q_cart/q_cart.module on line 410

PHP version on server 5.2.10.
Any ideas whats wrong?