3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sql = '<!-- Google Code for Ordered Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ goog_snippet_vars = function() { var w = window; w.google_conversion_id = 984711814; w.google_conversion_label = "g9fCCICC-VwQhoXG1QM"; w.google_remarketing_only = false; } // DO NOT CHANGE THE CODE BELOW. goog_report_conversion = function(url) { goog_snippet_vars(); window.google_conversion_format = "3"; window.google_is_call = true; var opt = new Object(); opt.onload_callback = function() { if (typeof(url) != \'undefined\') { window.location = url; } } var conv_handler = window[\'google_trackConversion\']; if (typeof(conv_handler) == \'function\') { conv_handler(opt); } } /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion_async.js"> </script>'; var_dump(mysql_escape_string($sql));
Output for 7.0.0 - 7.2.6
Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /in/derot:33 Stack trace: #0 {main} thrown in /in/derot on line 33
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function mysql_escape_string() in /in/derot on line 33
Process exited with code 255.
Output for 4.3.0 - 4.4.9
string(912) "<!-- Google Code for Ordered Conversion Page -->\n<script type=\"text/javascript\">\n /* <![CDATA[ */\n goog_snippet_vars = function() {\n var w = window;\n w.google_conversion_id = 984711814;\n w.google_conversion_label = \"g9fCCICC-VwQhoXG1QM\";\n w.google_remarketing_only = false;\n }\n // DO NOT CHANGE THE CODE BELOW.\n goog_report_conversion = function(url) {\n goog_snippet_vars();\n window.google_conversion_format = \"3\";\n window.google_is_call = true;\n var opt = new Object();\n opt.onload_callback = function() {\n if (typeof(url) != \'undefined\') {\n window.location = url;\n }\n }\n var conv_handler = window[\'google_trackConversion\'];\n if (typeof(conv_handler) == \'function\') {\n conv_handler(opt);\n }\n}\n/* ]]> */\n</script>\n<script type=\"text/javascript\"\n src=\"//www.googleadservices.com/pagead/conversion_async.js\">\n</script>"