3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $list = array("value1", "value2"); $fp = STDOUT; foreach ($list as $line) { fwrite($fp, $line.PHP_EOL); }

preferences:
44.41 ms | 402 KiB | 5 Q