3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sql = 'update dealers set status=1 where id='.$id.''; var_dump($sql);
Output for 5.0.4 - 7.1.7
Notice: Undefined variable: id in /in/eYVGZ on line 3 string(37) "update dealers set status=1 where id="
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: id in /in/eYVGZ on line 3 string(37) "update dealers set status=1 where id="