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/QMgjk on line 10 sql
Output for 4.3.0 - 7.1.7
Notice: Use of undefined constant sql - assumed 'sql' in /in/QMgjk on line 10 sql