3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $id = (int)$x; echo var_dump($id === $x);
based on LJmbl
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
Notice: Undefined variable: x in /in/gts3i on line 2 Notice: Undefined variable: x in /in/gts3i on line 3 bool(false)