PEAR Manual
PrevNext

Net_Ping::ping()

Net_Ping::ping() -- executes a ping command

Synopsis

require_once 'Net/Ping.php';

string Net_Ping::ping (string host)

Description

Executes a ping command

Parameter

Return value

string - the return message of the ping command

Note

This function can not be called statically.

Example


PrevHomeNext
Net_Ping::Net_Ping()UpNet_Ping::setArgs()