3v4l.org

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

preferences:
64.8 ms | 404 KiB | 5 Q