3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'A0'; for ($i=0;$i<20;$i++) var_dump($a++);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(2) "A0" string(2) "A1" string(2) "A2" string(2) "A3" string(2) "A4" string(2) "A5" string(2) "A6" string(2) "A7" string(2) "A8" string(2) "A9" string(2) "B0" string(2) "B1" string(2) "B2" string(2) "B3" string(2) "B4" string(2) "B5" string(2) "B6" string(2) "B7" string(2) "B8" string(2) "B9"