hey all, i use array_map from time to time to write recursive methods. for example
function stripSlashesRecursive( $value ){
$value = is_array($value) ?
array_map takes a callback as its first parameter.
And a callback to a static method is written like this :
array('classname', 'methodname')
Which means that, in your specific case, you'd use :
array_map(array('stripSlashesRecursive', ''), $value);
For more informations about callbacks, see this section of the PHP manual : Pseudo-types and variables used in this documentation - callback.