Skip to content

Conversation

twose
Copy link
Member

@twose twose commented Oct 28, 2019

Swoole\Runtime::enableCoroutine();
Swoole\Coroutine\run(function () {
    for ($n = 256; $n--;) {
        Swoole\Coroutine::create(function () {
            $context = stream_context_create(['http' => ['timeout' => 1]]);
            @file_get_contents('http://127.0.0.1:65535', false, $context);
        });
    }
});

EXPECT: no warning

@twose twose requested a review from matyhtf October 28, 2019 04:18
@matyhtf matyhtf merged commit 48cbedb into master Oct 28, 2019
@twose twose deleted the silence branch November 29, 2019 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants