3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var=10; for($i=1;$i<=$var;$i++){ $a.=$i; } echo $a; ?>
based on gejqm
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: a in /in/5ZdTX on line 5 12345678910
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/5ZdTX on line 5 12345678910