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");
based on BGnSj
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/953MS on line 5 number
Output for 5.3.21 - 7.0.20
number