3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i='foo' or die('bar'); var_dump($i);

preferences:
123.27 ms | 407 KiB | 5 Q