Better idx handling
commitab32955933f1fade64aab35f7595e13a85d14e15
authorMark Williams <mwilliams@fb.com>
Fri, 4 Mar 2016 14:46:36 +0000 (4 06:46 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Fri, 4 Mar 2016 15:30:27 +0000 (4 07:30 -0800)
tree49c40730f5620cb67cd3da4f5d51773384afbfc1
parent459a6cc0b0d21273fe047e45d12b5df9848f43f7
Better idx handling

Summary:Idx will always return the default value if the key is null, or if the
base isn't an Array, Object or String.

Reviewed By: swtaarrs

Differential Revision: D3009247

fb-gh-sync-id: 9efdc01d745a0ad127c83082abb95683e6436222
shipit-source-id: 9efdc01d745a0ad127c83082abb95683e6436222
hphp/runtime/vm/jit/irgen-builtin.cpp