title: array_walk_recursive doesn't seem to work
body: <p>I want to apply a function to each element/prop of an object but it seems <code>array_walk_recursive()</code> does not work on object. i.e:</p>
  
  <pre><code>if( $re = $con-&gt;query("SELECT id, created_date, contents FROM " . 
                        POST_DATA . " WHERE type = 'news' ORDER BY ".
                        "created_date DESC LIMIT $amount") ) {
      if( $re-&gt;num_rows != 0 ) {
          while( $ob = $re-&gt;fetch_object() ) {
              $ob = array_walk_recursive( $ob, "_output" );
              print_r($ob);
              die();
          }
      }
  }
  </code></pre>
  
  <p>would simply return '1'.</p>
  
  <p>How might I resolve this?</p>