Update ext_datetime to return darrays
commit2c1582617fb386ea532763944d2de7e0e9ef0ae0
authorHunter Goldstein <hgoldstein@fb.com>
Tue, 24 Jul 2018 15:27:51 +0000 (24 08:27 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 24 Jul 2018 15:46:04 +0000 (24 08:46 -0700)
tree7fe163301248beeab445ce633c2854ba718e2b18
parent4d9ad0dc4b66737a07d2540dfdba015558beb6a1
Update ext_datetime to return darrays

Summary: These are all dict-like, so they ought to be darrays

Reviewed By: markw65

Differential Revision: D8927931

fbshipit-source-id: 32fad403dc22307ed2248939dc23f5c59617ea0e
13 files changed:
hphp/runtime/base/datetime.h
hphp/runtime/base/timezone.cpp
hphp/runtime/ext/datetime/ext_datetime.cpp
hphp/runtime/ext/datetime/ext_datetime.php
hphp/system/php/date/datetimeimmutable.php
hphp/test/slow/dv_array/ext_datetime.php [new file with mode: 0644]
hphp/test/slow/dv_array/ext_datetime.php.expect [new file with mode: 0644]
hphp/test/slow/dv_array/ext_datetime.php.hphp_opts [new file with mode: 0644]
hphp/test/slow/dv_array/ext_datetime.php.opts [new file with mode: 0644]
hphp/test/slow/dv_array_hack_arr/ext_datetime.php [new file with mode: 0644]
hphp/test/slow/dv_array_hack_arr/ext_datetime.php.expect [new file with mode: 0644]
hphp/test/slow/dv_array_hack_arr/ext_datetime.php.hphp_opts [new file with mode: 0644]
hphp/test/slow/dv_array_hack_arr/ext_datetime.php.opts [new file with mode: 0644]