3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump((int)"1e1", (int)"10"); var_dump((int)"1e1" == "10"); var_dump("1e1" == "10");
Output for 7.1.0
int(10) int(10) bool(true) bool(true)
Output for 4.3.0 - 7.0.14
int(1) int(10) bool(false) bool(true)