略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Swoole\Async::dnsLookup

2024-11-15

Swoole\Async::dnsLookup

(PECL swoole >= 1.9.0)

Swoole\Async::dnsLookupAsync and non-blocking hostname to IP lookup.

说明

public static Swoole\Async::dnsLookup(string $hostname, callable $callback): void

警告

本函数还未编写文档,仅有参数列表。

参数

hostname

The host name.

callback
callback(string $hostname, string $ip): mixed
hostname

The host name.

IP

The IP address.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/swoole-async.dnslookup.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3