3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('11e0' == '.11e2'); var_dump('11e0' == '.011e3'); var_dump('1.1e1' == '.11e2'); echo ".11e2 = ", 0 + '.11e2', "\n";
based on Wm0XF
Output for 4.3.0 - 5.0.0, 5.0.2 - 7.2.0
bool(true) bool(true) bool(true) .11e2 = 11
Output for 5.0.1
bool(false) bool(false) bool(false) .11e2 = 0