3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t1select = "teamvalue"; $sql = "SELECT * FROM `allsquads` WHERE `Team` = '$t1select' AND `Position` = 3' OR `Secondary` = 4'"; echo sql;
Output for 7.2.0
Warning: Use of undefined constant sql - assumed 'sql' (this will throw an Error in a future version of PHP) in /in/IodLs on line 12 sql
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant sql - assumed 'sql' in /in/IodLs on line 12 sql