3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filestring = file_get_contents('http://www.ipdeny.com/ipblocks/data/countries/cn.zone'); $filearray = explode("\n", $filestring); while (list($var, $val) = each($filearray)) { ++$var; $val = trim($val); print "Line $var: $val<br />"; }

preferences:
52.54 ms | 405 KiB | 6 Q