Getting an object to work with array_walk_recursive in PHP
<p>I have an object that implements <code>IteratorAggregate</code> and <code>ArrayAccess</code>, which internally contains an array that will be generated when it is accessed.</p>

<p>I want to use <code>array_walk_recursive</code> on this object, but it does not seem to work. It seems that this is either impossible due to the implementation of <code>array_walk_recursive</code> or I just need to add an interface to my object. What am I missing?</p>
