Remove unused templates directory
E_DEPRECATED avaliable since 5.3
ze1_compatibility_mode removed since 5.3
magic_quote_* deprecated since 5.3 removed 5.4
register_globals deprecated since 5.3 removed 5.4
filter_input available since 5.2 by default
Magic quotes removal removed. Removed from php 5.4.
array_intersect_key available since 5.1
fnmatch available on windows since 5.3
Don't need PHP 5 checks