Is there any way to use array_merge()
, array_pop()
, .. functions to work with ArrayAccess?
Since now i've tried Iterate
interface and __set_state()
magic method with no success.
Error that is given: array_replace_recursive() [<a href='function.array-replace-recursive'>function.array-replace-recursive</a>]: Argument #1 is not an array
.
Just fo a record, gettype()
returns object
and is_array()
returns false
and i'm usin php version 5.3.8