3v4l.org

run code in 200+ PHP versions simultaneously
<?php $array = ['a', 'b', 'c']; foreach ($array as $values[]); var_dump($values);