3v4l.org

run code in 300+ PHP versions simultaneously
<? //Enter your code here, enjoy! $array = array("1" => "PHP code tester Sandbox Online", "foo" => "bar", 5 , 5 => 89009, "case" => "Random Stuff", "PHP Version" => phpversion() ); foreach( $array as $key => $value ){ echo $key."\t=>\t".$value."\n"; }

preferences:
60.35 ms | 402 KiB | 5 Q