
9 Dec
2005
9 Dec
'05
1:26 a.m.
Hi, how about using PHP_Compat ? for example in register_globals() we could just do <?php require_once 'PHP/Compat.php'; PHP_Compat::loadFunction('array_walk_recursive'); 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.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet