PHP 获取 ping 时间的实现方法 PHP可以通过exec函数执行shell命令,来获取ping时间。代码示例:echo'PHP_INT_MAX:'.PHP_INT_MAX."<br 获取ping时间的实现代码