3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $server = "78.225.196.182"; echo exec("ping ".$server." -c 3 -W 1 | grep time=",$output); echo "$output[0]";
based on XP3lk
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Notice: Undefined offset: 0 in /in/RNS5o on line 5
Output for hhvm-3.18.4 - 3.21.0
Failed to exec: `ping 78.225.196.182 -c 3 -W 1 | grep time='Failed to exec: `ping 78.225.196.182 -c 3 -W 1 | grep time='