Fix test/slow/program_functions/ini_get_all_second_third.php.expectf

Summary: D1590095 added a new option, but its latest test run was based before
D1591831.

Reviewed By: @markw65

Differential Revision: D1605691
Hardcode array_map typing into typechecker - output typing

Summary: The part where I correctly annotate output type of array_map, split from D1566676 where input parameters are typed, and output is left just as "array". See comment in .hhi file for explanation.

Reviewed By: @elgenie

Differential Revision: D1591816
Stop punting on '' === $s

Summary: Codegen was expecting simplifier to have canonicalized constants to the
right, but simplifier didn't do so in the specific case of Same on
strings. Thanks to vasm, it makes no difference to codegen whether
constants are canonicalized right, so just remove the check from
codegen.

Found this by looking for InterpOne while running Wordpress. This takes
it from 0.3-0.5% of bytecodes interp-oned on most endpoints down to a
consistent 0.1%.

Reviewed By: @ottoni

Differential Revision: D1603546
Fix test/slow/ext_gd/imageweb.php

Summary: @​rrh made me aware that the test was not passing any more with a more recent version of libvpx.
This commit corrects the test and should be robust enough for any future update.

Instead of just printing the header and the file size, it now checks if the header is valid and the specified length matches the real length of the file.

Fixes #3927
Closes https://github.com/facebook/hhvm/pull/3929

Reviewed By: @JoelMarcey

Differential Revision: D1603569
Fix NumberFormatter::format for string values

Summary: The parameter type would be checked instead of the type after converting it to a number (toNumeric)
That would result in having a type of TYPE_DEFAULT instead of the derived type from the parameter hence always trying to format the Int64 value on strings

Also make NumberFormatter::create's third parameter optional.

Fixes  #3936
Closes https://github.com/facebook/hhvm/pull/3938

Reviewed By: @JoelMarcey

Differential Revision: D1605804
asio: override & final virtual methods, classes

Reviewed By: @jano

Differential Revision: D1582474
Update docblock in hh_shared

Summary: The previous version was misleading at best (I'd probably say
"full of lies"). This corrects some of the misleading bits and
elaborates some more on the details and invariants.

Reviewed By: @int3

Differential Revision: D1604674
Add wholecfg as an ini output for the region selector

Summary: `wholecfg` was added as an output to `hhvm.jit_pgo_region_selector`

Reviewed By: @swtaarrs

Differential Revision: D1607784