📅  最后修改于: 2022-03-11 14:54:34.925000             🧑  作者: Mango
exec("ping ".$ip, $output, $status);
// $ip: desired ip address
// $output: result messages from the ping
// $status: result status code from the ping
// 0: success
// 1: no response
// 2: other errors