3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array("ip","icmp","ggp","tcp", "egp","pup","udp","hmp","xns-idp", "rdp","rvd" ); //Reads the names of protocols into an array.. for($i=0;$i<11;$i++) { $proname=$arr[$i]; echo $proname .":", getprotobyname ($proname)."<br />\n"; }

preferences:
39.13 ms | 402 KiB | 5 Q