This is a simplified version of a class that I have in php:
class someClass {
public function edit_array($array) {
array_walk_recursive($array, 'edit_value');
}
public function edit_value(&$value) {
//edit the value
}
}
Now sending the name of the function from within the class to array_walk_recursive obviously does not work. However, is there a work around other than recreating array_walk_recursive using a loop (I'll save that as my last resort)? Thanks in advance!