3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $id = "1 or 1=0"; echo $id; echo " II "; $jj = stripslashes($id); $vv = mysql_real_escape_string($jj); echo "X ".$vv." X";
Output for 7.0.0 - 7.3.0rc2
1 or 1=0 II Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /in/SmAmc:7 Stack trace: #0 {main} thrown in /in/SmAmc on line 7
Process exited with code 255.
Output for 5.5.0 - 5.6.28
1 or 1=0 II Fatal error: Call to undefined function mysql_real_escape_string() in /in/SmAmc on line 7
Process exited with code 255.