3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $id = "'1025325 AND FUCK YOU TOO"; $id = 0 + $id; if (!$id) print("not number"); else print("number"); print("\ninput is " . $id);
based on R2KFk
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/mKE6D on line 5 not number input is 0
Output for 5.3.21 - 7.0.20
not number input is 0