3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 0; $dynamic3var = "var3"; $dynamic7var = "var7"; while($i < 10) { if(isset(${'dynamic'.$i.'var'})) { echo ${'dynamic'.$i.'var'}; } $i++; } ?>
Output for 4.3.0 - 7.1.0
var3var7