mark test/zend/good/ext/posix/tests/posix_errno_variation2.php flakey

Summary: Another process can obviously be spawned in the meantime.

Reviewed By: @markw65

Differential Revision: D1568105
Use type_traits instead of boost equivalents

Summary: Gets rid of things from boost/mpl and boost/type_traits.

Reviewed By: @oyamauchi

Differential Revision: D1564300
Fix reference and empty arguments in ReflectionFunction::__toString

Summary: When a function has no arguments, ReflectionFunction::__toString is supposed to omit the parameters section
ReflectionParameter::__toString is supposed to add the ampersand if a parameter is passed by reference

Part of #3787

Also move slow/ext_reflection/* to slow/reflection_classes
Closes https://github.com/facebook/hhvm/pull/3788

Reviewed By: @ptarjan

Differential Revision: D1566169
Convert cgUnboxPtr to SSA

Summary: Introduce cond() for generating if/then/else blocks that produce
one value with a phidef{} instruction. Use it to make UnboxPtr
emit SSA-style code.

Reviewed By: @alexmalyshev

Differential Revision: D1568368
Convert cgCountArray to SSA

Summary: Introduce unlikelyCond() for generating if/then/else blocks
where the "true" case is unlikely. Use it for cgCountArray().

Reviewed By: @alexmalyshev

Differential Revision: D1568375
Convert cgInstanceOf() and cgLdClsCtx() to SSA

Reviewed By: @alexmalyshev

Differential Revision: D1568392
convert cgConvDblToInt() and cgConvObjToBool to SSA

Reviewed By: @alexmalyshev

Differential Revision: D1568404
Convert LdFuncCachedCommon() and LdClsCachedCommon() to SSA

Reviewed By: @alexmalyshev

Differential Revision: D1568449
Fix crash in inferTypes

Summary: When we clear m_propSym we need to clear m_propSymValid

Reviewed By: @jdelong

Differential Revision: D1568567
Remove clang warning suppressions, and fix fallout

Summary: We were suppressing various clang warnings. Mostly harmless
fixes. I think the pdo one was a real buffer overrun waiting to happen.

Reviewed By: @edwinsmith, @bertmaher

Differential Revision: D1566241
Delete unused preprocessor.ml

Reviewed By: @elgenie

Differential Revision: D1568390
Better management of g_context

Summary: Avoid destroying g_context twice per request.
Leave it null between requests.
Verify that there are no smart slabs allocated when a thread is flushed

Reviewed By: @jdelong

Differential Revision: D1559352
Replace calls to is_a with instanceof at IR gen time

Summary: These are equivalent in behavior; the PHP docs for is_a actually say you
should use instanceof instead.

Reviewed By: @edwinsmith

Differential Revision: D1556806
convert mbstring to hni

Summary: fixes #3675

Reviewed By: @ptarjan

Differential Revision: D1543361
Support zlib.output_compression_level option in set_ini

Summary: See previous discussion in post https://fburl.com/48881545 and D1547385, we want to experiment with different gzip compression level to see the impact on client.

Cowardly defered implementation for other zlib options as I'm noob to hhvm.

Reviewed By: @markw65

Differential Revision: D1558813
document func_get_args() difference

Summary: This is a known wontfix, and generally indicates code that should be
rewritten for clarity anyway.

Also, fix the fact that we can't count to 10.

Reviewed By: @sgolemon

Differential Revision: D1569484
Improve vasm pretty-printing

Summary: This gives each Vinstr an IRInstruction* instead of a SrcKey for the sake
of keeping track of where each vasm instruction came from. AsmInfo has
also been split out into its own header along with some additional
helper functions. We've also added mappings from IRInstruction to
TcaRange and from Block to TcaRange for cold and frozen code regions.

Also fixed a bug where were uninentionally duplicating a Vout struct,
causing us to miss setting the origin IRInstruction for many of the
Vinstrs while emitting vasm.

Reviewed By: @edwinsmith

Differential Revision: D1525064
Include PDOException in stdlib hhi files.

Summary: Closes https://github.com/facebook/hhvm/pull/3719

Reviewed By: @ptarjan

Differential Revision: D1547324
Make APC's StoreValue smaller

Summary: Go from 40 bytes to 24.  I haven't looked at how big the struct it's
embedded in inside tbb is though.

Reviewed By: @bertmaher

Differential Revision: D1566443
Remove #define TBB_PREVIEW_CONCURRENT_PRIORITY_QUEUE

Summary: It only affects tbb.h which we don't include.

Reviewed By: @bertmaher

Differential Revision: D1566748