Re: [PHP-DEV] The behavior of get_object_vars and array casting when extending ArrayObject

2011-08-11 Thread Chris Stockton
Hello, On Thu, Aug 11, 2011 at 11:58 AM, Etienne Kneuss wrote: > Hello, > > > ArrayObject extends the handler responsible for giving you such > information. So it might very well be a bug. > > You should report it! > > Best, Thanks Etienne, I went ahead and made a bug report and patch here: http

Re: [PHP-DEV] The behavior of get_object_vars and array casting when extending ArrayObject

2011-08-11 Thread Etienne Kneuss
Hello, On Thu, Aug 11, 2011 at 20:54, Chris Stockton wrote: > I was curious if this behavior was expected, it caught me by surprise. > A base object I use extends ArrayObject, that class is extended > heavily throughout my code and I recently wanted to use > get_object_vars, but noticed it return

[PHP-DEV] The behavior of get_object_vars and array casting when extending ArrayObject

2011-08-11 Thread Chris Stockton
I was curious if this behavior was expected, it caught me by surprise. A base object I use extends ArrayObject, that class is extended heavily throughout my code and I recently wanted to use get_object_vars, but noticed it returning an empty array. I do not expect get_object_vars to return the prop