3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //Enter your code here, enjoy! $resultCode = ''; $args = array('0x27bla', 'bla1'); $resultCode .= "'".mysql_escape_string(array_shift($args))."'"; print_r($resultCode);
based on FZYdk
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /in/gtKAv:7 Stack trace: #0 {main} thrown in /in/gtKAv on line 7
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Fatal error: Call to undefined function mysql_escape_string() in /in/gtKAv on line 7
Process exited with code 255.