Get rid of most remaining internal is_array checks
Summary:
A small grab-bag of places where we should replace isArrayType / tvIsArray checks with HAM-safe helpers instead.
We need to make an argument about safety at each point, which I'll do inline. There are a few places that I didn't change because I couldn't provide a good reasoning - we may need logging for those. In particular, there's an ext_soap function where I can't prove that it doesn't get a varray, and the array_slice builtin does manual intish-casting logic for some reason.
Reviewed By: ricklavoie
Differential Revision:
D22556563
fbshipit-source-id:
e80f17766bb7e46c1d8a2fce79d31c5ecadc25f3