3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump("1e3" == "1000"); var_dump("0x3E8" == "1000"); var_dump("0b1111100100" == "1000"); var_dump(decbin(1000)); var_dump(decoct(1000));
based on eFY7v
Output for 7.0.0 - 7.2.0
bool(true) bool(false) bool(false) string(10) "1111101000" string(4) "1750"
Output for 5.3.21 - 5.6.28
bool(true) bool(true) bool(false) string(10) "1111101000" string(4) "1750"