Net_Ping::setArgs()

Net_Ping::setArgs() -- set arguments for a ping command

Synopsis

require_once 'Net/Ping.php';

boolean Net_Ping::setArgs (array $args)

Description

Set the arguments for a ping command

Parameter

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Throws

Table 38-2. Possible PEAR_Error values

Error codeError messageReasonSolution
NULL PING_INVALID_ARGUMENTS A not supported argument was given Check typing of argument (key name) and OS-support of the argument.

Note

This function can not be called statically.