3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump("4sha","4sha" + 0,is_numeric("4")," 4"," 4"," 4" == " 4"); var_dump(" 4 " == " 4 ");
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/ngJHp on line 2 string(4) "4sha" int(4) bool(true) string(3) " 4" string(5) " 4" bool(true) bool(false)
Output for 4.3.0 - 7.0.20
string(4) "4sha" int(4) bool(true) string(3) " 4" string(5) " 4" bool(true) bool(false)