[Phpmyadmin-devel] PEAR::PHP_Compat

Sebastian Mendel lists at sebastianmendel.de
Fri Dec 9 00:26:11 CET 2005


how about using PHP_Compat ?

for example in register_globals()

we could just do

require_once 'PHP/Compat.php';

array_walk_recursive( $_SERVER, 'strip_tags' );
array_walk_recursive( $_ENV, 'strip_tags' );

this will improve speed on systems with PHP having this functions natively.

i think there are more places where tis would be a benefit

Sebastian Mendel

www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet

More information about the Developers mailing list