Kill remaining toVArray/toDArray in C++ codenightly-2022.06.17
commit048144c10f0196e3f6eb9c107ed0a284b8b2c174
authorAlexey Toptygin <alexeyt@fb.com>
Fri, 17 Jun 2022 00:34:04 +0000 (16 17:34 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 17 Jun 2022 00:34:04 +0000 (16 17:34 -0700)
tree96c62c3035fb1f9fc69ba18cc504f64c25dbc848
parentb36be5024440b93712174151bf4e1d7ead8f8f2a
Kill remaining toVArray/toDArray in C++ code

Summary: Move the logic for Pair, Set, and ImmSet toVArray/toDArray methods from C++ to php. This allows us to delete all remaining C++ code with toVArray/toDArray in the name.

Reviewed By: paulbiss

Differential Revision: D37117585

fbshipit-source-id: f32b9ef6bd4a501fa409acecf0d4ae6c099ce8af
hphp/runtime/base/type-variant.h
hphp/runtime/ext/collections/ext_collections-pair.cpp
hphp/runtime/ext/collections/ext_collections-pair.h
hphp/runtime/ext/collections/ext_collections-pair.php
hphp/runtime/ext/collections/ext_collections-set.cpp
hphp/runtime/ext/collections/ext_collections-set.php
hphp/runtime/ext/collections/hash-collection.cpp
hphp/runtime/ext/collections/hash-collection.h
hphp/runtime/ext/reflection/ext_reflection.cpp