facebook/hhvm — pull request #2936 by SiebelsTim (2014-06-13 18:38:38+00:00)
Title: ArrayIterator only uses public variables if an object is passed

`get_object_vars` only fetches public variables.

ArrayIterator only uses public variables. Even though `(array) $array` uses private and protected ones.
That shouldn't happen IMHO. But whatevery PHP :P