3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta charset="utf-8"> <style type="text/css"> .btn4 { border-radius: 8px; background-color: #78C257; background-image: -moz-linear-gradient(center top , #78C257, #78C257 0%, #78C257); /*mozilla gradient*/ background-image: -webkit-gradient(center top , #78C257, #78C257 0%, #78C257); /*webkit gradient*/ box-shadow: #dadada; /*button farbe*/ -moz-border-radius: 4px; /*ecken rundung*/ -webkit-border-radius: 4px; /*ecken rundung*/ border: 1px solid #999999; text-shadow: 0 0px 0 #F4F4F4; padding: 11px 22px; /*höhe und breite*/ color: #ffffff; text-decoration: none; font: 14px Arial; } .btn4:hover { background:#02b8f7; /*fallback*/ text-decoration:none; cursor:pointer; } h1,h2,h3,h4,h5,h6{margin: 0 0 10px 0;} .background { background-color: #f0f0f0; } a { color: #565656; } h1 { font-size: 18px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif } .text { color: #444444; font-size: 14px; font-family: Verdana; line-height: 20px; text-align: left; } body { margin: 0pt; padding: 0pt; background-color: #fafafa; width: 100% ! important; color: #ffffff; font-size: 12px; font-family: Verdana; } table { *border-collapse: collapse; /* IE7 and lower */ border-spacing: 0; width: 800px; } .bordered { border: solid #ccc 1px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; -webkit-box-shadow: 0 1px 1px #ccc; -moz-box-shadow: 0 1px 1px #ccc; box-shadow: 0 1px 1px #ccc; } .bordered td, .bordered th { border-left: 1px solid #ccc; border-top: 1px solid #ccc; padding: 10px; text-align: justify; } .bordered th { background-color: #dce9f9; background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9)); background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9); background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9); background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9); background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9); background-image: linear-gradient(top, #ebf3fc, #dce9f9); -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; border-top: none; text-shadow: 0 1px 0 rgba(255,255,255,.5); } .bordered td:first-child, .bordered th:first-child { border-left: none; } .bordered th:first-child { -moz-border-radius: 6px 0 0 0; -webkit-border-radius: 6px 0 0 0; border-radius: 6px 0 0 0; } .bordered th:last-child { -moz-border-radius: 0 6px 0 0; -webkit-border-radius: 0 6px 0 0; border-radius: 0 6px 0 0; } .bordered th:only-child{ -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; } .bordered tr:last-child td:first-child { -moz-border-radius: 0 0 0 6px; -webkit-border-radius: 0 0 0 6px; border-radius: 0 0 0 6px; } .bordered tr:last-child td:last-child { -moz-border-radius: 0 0 6px 0; -webkit-border-radius: 0 0 6px 0; border-radius: 0 0 6px 0; } .editable { border-left: 0px; } ul.special { margin-left: 230px; } </style> </head> <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="color: #666666; font-size: 12px; font-family: arial; margin: 0; padding: 0; background-color: #f0f0f0; width: 100% !important;"> <center> <table class="background text" style="width: 100%; height: 100%;" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody> <tr> <td align="center" valign="top"> <table class="text" style="width: 850px; height: 100%;" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody> <tr> <td width="850" align="left" valign="top"> <table style="width: 100%;" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody> <tr> <td style="font-size: 10px;" align="center" valign="top"><!--#/online_version#--> <table style="width: 806px; height: 128px;" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td height="130" valign="bottom"><a href="http://www.mycrm.de"><img src="http://www.mycrm.de/logo.png" alt="mycrm logo" /><br> <br> </a></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <table class="bordered" style="background-color: #ffffff; border: 1px solid #cccccc; width: 850px;" cellspacing="0" cellpadding="0" align="center"> <tbody> <tr> <td class="text" style="padding: 20px;" width="850" align="left">Liebe Kunde,<br> </span></p> <p>wir haben Ihre Anfrage automatisiert angenommen und eine Fallnummer erzeugt.</p> <p>Eine persönliche Reaktion durch einen Mitarbeiter erfolgt schnellstmöglich während unserer Arbeitszeiten von Montag bis Freitag, 9:00-17:00 Uhr (CET/CEST) an Arbeitstagen in Baden-Württemberg. Anders vereinbarte Service Level werden selbstverständlich berücksichtigt.</p> <p><strong>Bitte ändern Sie den E-Mail Betreff im Verlauf nicht ab.<br> <br> </strong>Ihre MyCRM GmbH</p><hr> <p>Dear customer<br> </p> <p>We received you inquiry by e-mail and created a case number.</p> <p>You will be contacted asap by a support member during our office times from Monday to Friday, 9:00-17:00 (CET/CEST) on workdsays in the state of Baden-Württemberg. <strong><br> </strong></p> <p><strong>Please do not remove the case reference in the e-mail subject when you answer.</strong><br> <br> Yours MyCRM GmbH<br> </p></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> <tr> <td width="850" align="center" valign="top"><span style="font-size: 10px; color: #333;"><strong><a href="http://www.mycrm.de/footer/impressum/" target="_blank">Impressum</a></strong></span></td> </tr> </tbody> </table> </center> </body> </html>'; echo mysql_real_escape_string($string);
based on Idksa
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /in/oT3f8:213 Stack trace: #0 {main} thrown in /in/oT3f8 on line 213
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function mysql_real_escape_string() in /in/oT3f8 on line 213
Process exited with code 255.