3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name = "' limit 10#"; if(!preg_match('/sleep|benchmark|and|or|\||&/i', $name)) { echo "SELECT name,email FROM user where name='".$name."'"; } else { echo "loser"; } ?>
based on 5Hvgf
Output for 4.3.0 - 7.1.0
SELECT name,email FROM user where name='' limit 10#'