Use version_compare(), unregister only registered filters:
-rw-r--r-- 145196 .gitattributes
-rw-r--r-- 308 .gitignore
-rw-r--r-- 1003 .htaccess
drwxr-xr-x - DOCS
-rw-r--r-- 3266 admin.php
-rw-r--r-- 3072 agb.php
-rw-r--r-- 3972 ajax.php
-rw-r--r-- 3121 autoreg.php
-rw-r--r-- 9238 beg.php
-rw-r--r-- 5298 birthday_confirm.php
-rw-r--r-- 3179 click.php
-rw-r--r-- 3322 confirm.php
-rw-r--r-- 3172 css.php
-rw-r--r-- 4087 debug.php
-rw-r--r-- 9585 doubler.php
-rw-r--r-- 3428 img.php
drwxr-xr-x - img
drwxr-xr-x - inc
-rw-r--r-- 4500 index.php
-rw-r--r-- 4543 install.php
drwxr-xr-x - install
-rw-r--r-- 3880 js.php
drwxr-xr-x - js
-rw-r--r-- 3605 lead-confirm.php
-rw-r--r-- 3141 login.php
-rw-r--r-- 8441 mailid.php
-rw-r--r-- 16521 mailid_top.php
-rw-r--r-- 3000 modules.php
-rw-r--r-- 3381 network-vcheck.php
-rw-r--r-- 3683 ref.php
-rw-r--r-- 5333 robots.txt
-rw-r--r-- 5310 show_bonus.php
-rw-r--r-- 3241 sponsor_confirm.php
-rw-r--r-- 3202 sponsor_ref.php
-rw-r--r-- 7900 surfbar.php
drwxr-xr-x - templates
drwxr-xr-x - theme
-rw-r--r-- 2977 view.php