Make loop test case do more iterations.

Summary: As of right now, pgo isn't actually picking up the backedge.

Reviewed By: @edwinsmith

Differential Revision: D1496334
Update third-party to capture folly pull
Support FixedVector in gdb `idx'

Reviewed By: @alexmalyshev

Differential Revision: D1497321
Fix printing of objects in gdb `idx'

Summary: Changes `idx` to set $# to the address of the indexed value; gdb's
object print format and object expression format are just too different.

Also fixes weirdness in the printing caused by the pretty printer.

Reviewed By: @alexmalyshev

Differential Revision: D1497325
Use print() for python3

Reviewed By: @alexmalyshev

Differential Revision: D1498114
Fix regression on OS X introduced by b53a42309061876adf275c82ff87df3981fe1bf2

Summary: OS X has some issues with __attribute__((weak)), see http://glandium.org/blog/?p=2764 for more information.
Closes https://github.com/facebook/hhvm/pull/3398

Reviewed By: @ptarjan

Differential Revision: D1484825Pulled By: @sgolemon
Updated the zf2 tests to 2.3.2

Summary: The test are at `97.01%` passing.
Closes https://github.com/facebook/hhvm/pull/3455

Reviewed By: @fredemmott

Differential Revision: D1494811Pulled By: svcscm
up all the ftp timeouts

Summary: We should really be trying as much as possible and let the test runner time us out instead

Reviewed By: @JoelMarcey

Differential Revision: D1495421
Updated fastroute tests to v0.2.0

Summary: This uncovers some issues:
```
1) FastRoute\Dispatcher\MarkBasedTest::testFoundDispatches with data set #2 ('GET', '/user/rdlowrey', Closure$FastRoute\Dispatcher\DispatcherTest::provideFoundDispatchCases;434883760#3, 'handler2', array('rdlowrey'))

RUN TEST FILE:  cd /root/hhvm/hphp/test/frameworks/framework_downloads/fastroute && /root/hhvm/hphp/test/frameworks/../../hhvm/hhvm -v Repo.Local.Mode=-- -v Repo.Central.Path=/tmp/framework-testqIDsQM --config /root/hhvm/hphp/test/frameworks/php.ini -c /root/hhvm/hphp/test/frameworks/.generated.php.ini /root/hhvm/hphp/test/frameworks/vendor/bin/phpunit --debug  -c /root/hhvm/hphp/test/frameworks/framework_downloads/fastroute/phpunit.xml --filter 'FastRoute\\Dispatcher\\MarkBasedTest::testFoundDispatches with data set #2'

array_keys() expects parameter 1 to be an array or collection

/root/hhvm/hphp/test/frameworks/framework_downloads/fastroute/src/Dispatcher/MarkBased.php:46
/root/hhvm/hphp/test/frameworks/framework_downloads/fastroute/src/Dispatcher/Mark
Closes https://github.com/facebook/hhvm/pull/3428

Reviewed By: @fredemmott

Differential Revision: D1489994Pulled By: svcscm
Updated html5php framework tests to 2.0.0

Summary: We're still at `100%` passing tests.
Closes https://github.com/facebook/hhvm/pull/3382

Reviewed By: @fredemmott

Differential Revision: D1488848Pulled By: svcscm
Removed trailing whitespace from the test run file

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

Reviewed By: @fredemmott

Differential Revision: D1488927Pulled By: svcscm
Imagick IMGTYPE_PALETTE

Summary: Fixes #3303.

I double checked the PHP documentation and it seems that this is the only constant that hasn't been defined in the HHVM implementation.
Closes https://github.com/facebook/hhvm/pull/3429

Reviewed By: @fredemmott

Differential Revision: D1490366Pulled By: svcscm
Implement SplFileObject::fread

Summary: I can't test against length < 0 currently, because fread's implementation doesn't match php5
Closes https://github.com/facebook/hhvm/pull/3367

Reviewed By: @ptarjan

Differential Revision: D1479964Pulled By: @fredemmott
Don't swallow timeouts and OOMs in autoload map

Summary: Timeouts and OOMs are useful to have.

Reviewed By: @markw65

Differential Revision: D1496409
Don't swallow timeouts and OOMs in check_request_surprise()

Summary: Currently, if a pending exception is registered in the surprise flags,
_and_ we have a timeout or OOM registered, we ignore the latter and only
process the former. In the case of OOMs at least, if this happens, we
will never register an OOM again for the rest of the request, regardless
of what the consequence of the thrown pending exception is.

Let's instead re-set the timeout and OOM flags in this case, so that
they'll be processed on the next check.

Reviewed By: @jano

Differential Revision: D1496336
Replace all uses of NOT_REACHED with not_reached

Summary: They're the same thing, and one of them sounds a lot angrier than the other.

Reviewed By: @mxw

Differential Revision: D1497048
Remove unused variable

Summary: See 0186e0b24
Closes https://github.com/facebook/hhvm/pull/3389

Reviewed By: svcscm

Differential Revision: D1484819Pulled By: @fredemmott
Updated the phpunit framework tests to 4.2.0

Summary: Those tests that have been removed are due to a depreciation the phpunit team made and they deleted the tests because the functionality of the feature is no longer cared about.
Closes https://github.com/facebook/hhvm/pull/3400

Reviewed By: svcscm

Differential Revision: D1487064Pulled By: @fredemmott
Do exhaustiveness and redundancy checking for switches on enums

Summary: Do exhaustiveness and redundancy checking for switches on enums. We make sure that when we switch on an enum type, every case is a class constant from the enum and that we cover every value exactly once.

Reviewed By: @jwatzman, @elgenie

Differential Revision: D1490656
SplHeap::top() s/peak/peek

Summary: Hilariously fixes two zend tests
Closes https://github.com/facebook/hhvm/pull/3413

Reviewed By: @ptarjan

Differential Revision: D1488521Pulled By: @fredemmott