3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ver = 5; $ver += 0x0+1; echo $ver; // 7
based on 13ntO
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.2.17, 5.3.11 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
6
Output for 5.3.0 - 5.3.10
7
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/ohjO9 on line 5
Process exited with code 255.