3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(is_numeric("1e3445")); var_dump("1e34d5" + 1); var_dump(is_numeric("1e34d5"));
based on cP98G
Output for 7.1.0 - 7.2.0
bool(true) Notice: A non well formed numeric value encountered in /in/7DBh7 on line 4 float(1.0E+34) bool(false)
Output for 5.2.1 - 7.0.20
bool(true) float(1.0E+34) bool(false)
Output for 4.3.3 - 5.2.0
bool(false) float(1.0E+34) bool(false)
Output for 4.3.0 - 4.3.2
bool(false) float(1.E+34) bool(false)