3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump("0xFF" == "255.0"); var_dump("0xFF"); var_dump("255.0");
based on n7aOg
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.2.0, 7.0.0 - 7.1.0
bool(false) string(4) "0xFF" string(5) "255.0"
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2, 5.2.1 - 5.6.28
bool(true) string(4) "0xFF" string(5) "255.0"