3v4l.org

run code in 300+ PHP versions simultaneously
<?php $age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43"); $arr = array("p", "B" ,"J"); print_r($age); foreach ($arr as $x => $x_value) { echo $x; } $file = get_file_contents("http://google.com"); echo $file;

preferences:
45.22 ms | 402 KiB | 5 Q