title: calling function from within class with array_walk_recursive
body: <p>This is a simplified version of a class that I have in php:</p>
  
  <pre><code>class someClass {
     public function edit_array($array) {
        array_walk_recursive($array, 'edit_value');
     }
     public function edit_value(&amp;$value) {
        //edit the value 
     }
  }
  </code></pre>
  
  <p>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!</p>