test for packed array bug triggered by simple json parser
commit2175a5d76eb63874a42fc0614741f0214999b30d
authorDaniel Andersson <koda@fb.com>
Sun, 4 Dec 2016 15:00:49 +0000 (4 07:00 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Wed, 7 Dec 2016 20:39:38 +0000 (7 12:39 -0800)
tree872c4bec4a986ee0df8ec2af921c789c0520cba8
parent185ccec79f8396277f485ac367f639cb7eb676c2
test for packed array bug triggered by simple json parser

Summary:
Add unit test for the PackedArray issue fixed by D4270055.

Also fix confusing comment in code.

Reviewed By: paulbiss

Differential Revision: D4272134

fbshipit-source-id: 3194ad6afc005f87d2b6da74aeee2cd3471bf03d
hphp/runtime/base/packed-array.cpp
hphp/test/quick/asm_array_packed.hhas [new file with mode: 0644]
hphp/test/quick/asm_array_packed.hhas.expect [new file with mode: 0644]
hphp/test/slow/ext_json/json_decode_big_packed.php [new file with mode: 0644]
hphp/test/slow/ext_json/json_decode_big_packed.php.expect [new file with mode: 0644]
hphp/test/slow/ext_json/json_decode_big_packed.php.opts [new file with mode: 0644]