3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $nums = array(11, 12, 13); foreach($nums as $val) $val++; print_r($nums);
Output for 4.3.0 - 7.1.0
Array ( [0] => 11 [1] => 12 [2] => 13 )