3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('a', 'b'); foreach ($a as &$b) { $b .= '*'; } print_R($a);
Output for 5.6.0 - 7.3.0alpha1
Array ( [0] => a* [1] => b* )