public function FunctionsTest::testLotsOfTryCatchingDoesNotBlowStack in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/functionsTest.php \GuzzleHttp\Promise\Tests\FunctionsTest::testLotsOfTryCatchingDoesNotBlowStack()
File
- vendor/
guzzlehttp/ promises/ tests/ functionsTest.php, line 486
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testLotsOfTryCatchingDoesNotBlowStack() {
$promise = $this
->createLotsOfFlappingPromise();
$promise
->then(function ($v) use (&$r) {
$r = $v;
});
P\queue()
->run();
$this
->assertEquals(999, $r);
}