3v4l.org

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