3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump("1e3" == "1000"); var_dump("0x3E8" == "1000"); var_dump("01750" == "1000"); var_dump("0b1111101000" == "1000"); var_dump(dechex(1000), "1111101000");
based on VNKR5
Output for 7.0.0 - 7.2.0
bool(true) bool(false) bool(false) bool(false) string(3) "3e8" string(10) "1111101000"
Output for 5.3.21 - 5.6.28
bool(true) bool(true) bool(false) bool(false) string(3) "3e8" string(10) "1111101000"