3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 1; $frutas = array($a++); foreach($frutas as $fruta){ echo "a fruta é: ".$fruta." "; }
based on dDn8c
Output for 5.6.0 - 7.3.0beta1
a fruta é: 1