3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $val = 'SELECT * FROM `admin_smtp` WHERE login="'.mysql_escape_string('1 OR 1=1').'" AND mot_de_passe = "test"'; echo $val;
based on 5EQCa
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /in/4b5Te:3 Stack trace: #0 {main} thrown in /in/4b5Te on line 3
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function mysql_escape_string() in /in/4b5Te on line 3
Process exited with code 255.
Output for 4.3.0 - 4.4.9
SELECT * FROM `admin_smtp` WHERE login="1 OR 1=1" AND mot_de_passe = "test"