facebook/hhvm — pull request #1683 by danslo (2014-02-01 01:16:43+00:00)
Title: switch VariableSerializer to o_toArray instead of o_getArray

Because some classes have custom implementations of ToArray,
we must let o_toArray decide whether or not we should call
o_getArray because the latter only deals with dynPropArray.