3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print(0x0 +2); print("\n"); print(0x0 + 2); print("\n"); print(0x0 +3.5); print("\n"); print(0x0 +2e1);
Output for 4.3.0 - 5.2.17, 5.3.11 - 7.1.0
2 2 3.5 20
Output for 5.3.0 - 5.3.10
4 2 6.5 757