🌈 搜索
📅  最后修改于: 2022-03-11 14:54:45.240000             🧑  作者: Mango
$response = null; system("ping -c 1 google.com", $response); if($response == 0) { // this means you are connected }