3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(range(0, 1200) as $id) { $test = $id; $test2 = "test2"; } echo $test; echo $test2;

preferences:
53.47 ms | 402 KiB | 5 Q