3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "0a0"; $prev = $a; for ($i=0; $i<100000; $i++) { $a++; if (!is_string($a)) { var_dump($prev); var_dump($a); var_dump($i); break; } $prev = $a; } ?>
based on jhJ3l
Output for 4.3.0 - 7.2.0
string(3) "0e0" float(1) int(40)