PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

EventDnsBase::countNameservers

(PECL event >= 1.2.6-beta)

EventDnsBase::countNameserversGets the number of configured nameservers

Description

public void EventDnsBase::countNameservers ( void )

Gets the number of configured nameservers

Parameters

This function has no parameters.

Return Values

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.

PHP Manual