3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = ['a','b','c','d','e','f']; foreach ($result as $letter) { echo $letter . "\n"; $result = [1,2,3]; }
Output for 5.5.0 - 7.2.6
a b c d e f