略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: EventDnsBase::__construct

2024-11-13

EventDnsBase::__construct

(PECL event >= 1.2.6-beta)

EventDnsBase::__constructConstructs EventDnsBase object

说明

public EventDnsBase::__construct( EventBase $base , bool $initialize )

Constructs EventDnsBase object.

参数

base

Event base.

initialize

If the initialize argument is true, it tries to configure the DNS base sensibly given your operating system’s default. Otherwise, it leaves the event DNS base empty, with no nameservers or options configured. In the latter case DNS base should be configured manually, e.g. with EventDnsBase::parseResolvConf() .

返回值

Returns EventDnsBase object.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/eventdnsbase.construct.php

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