3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var1=1; $var2=0; $var3=2; $var4=-1; for ($i=1;$i<=4;$i++) echo ${"var$i"};
Output for 4.3.0 - 7.1.0
102-1