3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['things', 'stuff']; foreach ($a as $item) { // just iteratin' } var_dump($item);

preferences:
23.39 ms | 404 KiB | 5 Q