We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b3d811 commit 491a894Copy full SHA for 491a894
tests/swoole_coroutine_system/gethostbyname_ipv6.phpt
@@ -9,8 +9,9 @@ skip_if_offline();
9
require __DIR__ . '/../include/bootstrap.php';
10
11
Swoole\Coroutine::create(function () {
12
- $ip = Swoole\Coroutine\System::gethostbyname('ipv6.baidu.com', AF_INET6);
13
- Assert::assert(!empty($ip));
+ $ip = Swoole\Coroutine\System::gethostbyname('ipv6.google.com', AF_INET6);
+ phpt_var_dump($ip);
14
+ Assert::notEmpty($ip);
15
});
16
17
?>
0 commit comments