3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "00"; for ($i=0; $i<10; $i++) { $a++; var_dump($a); } ?>
based on 1pkM2
Output for 4.3.0 - 7.2.0
int(1) int(2) int(3) int(4) int(5) int(6) int(7) int(8) int(9) int(10)