International PHP Conference Berlin 2025

EventDnsBase::countNameservers

(PECL event >= 1.2.6-beta)

EventDnsBase::countNameserversGets the number of configured nameservers

说明

public EventDnsBase::countNameservers(): int

Gets the number of configured nameservers

参数

此函数没有参数。

返回值

Returns the number of configured nameservers(not necessarily the number of running nameservers). This is useful for double-checking whether our calls to the various nameserver configuration functions have been successful.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top