Don't add temporary arrays to m_refs
commit79ae2b45f01b88cbbfe1107cf7a8cf1776a299a5
authorMark Williams <mwilliams@fb.com>
Mon, 23 Jul 2018 13:12:33 +0000 (23 06:12 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 23 Jul 2018 13:28:14 +0000 (23 06:28 -0700)
treea39f3b917e0790453c905e6db4666359307932c7
parentdf5744beee132320a6f8c2748f29c68d32a40247
Don't add temporary arrays to m_refs

Summary: We've already guarded against cycles by adding the object to m_refs, so there's no need to also add the array.

Reviewed By: alexeyt

Differential Revision: D8948152

fbshipit-source-id: d6c64b20db58c8b6f9cdebad59e9aa6400a6c849
hphp/runtime/base/variable-serializer.cpp