3v4l.org

run code in 300+ PHP versions simultaneously
<?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.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.25, 8.3.0 - 8.3.13
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.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 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.3.11, 4.4.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>"

preferences:
76.34 ms | 411 KiB | 5 Q