3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0150.00718.43
8.3.50.0120.00316.39
8.3.40.0070.01018.92
8.3.30.0110.00418.71
8.3.20.0000.00820.34
8.3.10.0080.00021.95
8.3.00.0080.00020.34
8.2.180.0120.00616.75
8.2.170.0100.00322.96
8.2.160.0130.00320.44
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0060.00317.38
8.2.110.0090.00022.08
8.2.100.0120.00017.50
8.2.90.0040.00419.22
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0040.00419.39
8.2.30.0070.00020.70
8.2.20.0050.00317.74
8.2.10.0000.00718.07
8.2.00.0000.00818.12
8.1.270.0060.00323.95
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00320.84
8.1.230.0080.00417.42
8.1.220.0030.00517.79
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0000.00818.53
8.1.160.0040.00421.82
8.1.150.0070.00018.71
8.1.140.0050.00317.31
8.1.130.0070.00017.55
8.1.120.0040.00417.38
8.1.110.0040.00417.40
8.1.100.0000.00717.30
8.1.90.0000.00817.31
8.1.80.0040.00417.32
8.1.70.0050.00317.46
8.1.60.0040.00417.58
8.1.50.0000.00817.57
8.1.40.0000.00817.49
8.1.30.0040.00417.56
8.1.20.0040.00417.55
8.1.10.0040.00417.61
8.1.00.0000.00817.43
8.0.300.0080.00018.77
8.0.290.0020.00516.75
8.0.280.0030.00318.31
8.0.270.0000.00617.26
8.0.260.0030.00317.09
8.0.250.0070.00016.83
8.0.240.0070.00016.85
8.0.230.0040.00417.00
8.0.220.0080.00016.87
8.0.210.0000.00816.76
8.0.200.0040.00417.00
8.0.190.0080.00016.95
8.0.180.0070.00316.91
8.0.170.0040.00416.81
8.0.160.0000.00716.92
8.0.150.0040.00416.88
8.0.140.0050.00216.88
8.0.130.0030.00313.31
8.0.120.0050.00316.86
8.0.110.0070.00016.96
8.0.100.0050.00316.94
8.0.90.0070.00016.85
8.0.80.0100.01016.87
8.0.70.0060.00316.91
8.0.60.0070.00016.72
8.0.50.0080.00016.85
8.0.30.0130.00817.10
8.0.20.0130.00717.40
8.0.10.0040.00416.89
8.0.00.0090.01016.79
7.4.330.0050.00015.08
7.4.320.0030.00316.55
7.4.300.0040.00416.50
7.4.290.0030.00316.52
7.4.280.0040.00416.66
7.4.270.0070.00016.66
7.4.260.0070.00016.39
7.4.250.0020.00516.56
7.4.240.0050.00216.53
7.4.230.0070.00016.54
7.4.220.0060.01216.64
7.4.210.0070.01016.61
7.4.200.0070.00016.59
7.4.160.0070.01016.50
7.4.150.0140.00317.40
7.4.140.0050.01517.86
7.4.130.0100.00916.64
7.4.120.0150.00416.57
7.4.110.0100.00716.61
7.4.100.0080.00816.68
7.4.90.0070.01016.38
7.4.80.0000.01619.39
7.4.70.0060.01216.49
7.4.60.0120.00316.46
7.4.50.0040.00416.29
7.4.40.0040.01416.65
7.4.30.0090.01216.53
7.4.00.0080.00814.90
7.3.330.0000.00513.16
7.3.320.0000.00513.07
7.3.310.0030.00316.33
7.3.300.0000.00716.13
7.3.290.0060.00716.24
7.3.280.0100.00716.24
7.3.270.0090.00817.40
7.3.260.0180.00616.23
7.3.250.0100.00716.43
7.3.240.0150.00716.26
7.3.230.0100.00716.44
7.3.210.0130.00316.44
7.3.200.0100.00616.29
7.3.190.0090.00916.41
7.3.180.0080.00816.20
7.3.170.0110.00616.27
7.3.160.0100.00616.29
7.3.120.0000.01414.99
7.3.110.0110.00714.98
7.3.100.0090.00614.73
7.3.90.0000.01214.86
7.3.80.0040.00414.96
7.3.70.0110.00014.91
7.3.60.0000.01114.86
7.3.50.0030.01414.65
7.3.40.0110.00414.70
7.3.30.0110.00414.67
7.3.20.0100.00316.57
7.3.10.0090.00616.63
7.3.00.0040.01116.38
7.2.330.0040.01416.40
7.2.320.0030.01616.27
7.2.310.0040.01316.49
7.2.300.0090.00616.31
7.2.290.0090.01316.55
7.2.250.0110.00615.07
7.2.240.0040.01214.81
7.2.230.0170.00015.10
7.2.220.0000.01214.82
7.2.210.0100.00715.06
7.2.200.0070.00315.02
7.2.190.0040.01114.84
7.2.180.0090.00614.88
7.2.170.0060.00914.89
7.2.60.0070.00716.71
7.2.00.0030.01219.38
7.1.330.0070.01015.68
7.1.320.0090.00015.67
7.1.310.0060.01015.73
7.1.300.0060.00615.48
7.1.290.0040.01115.69
7.1.280.0060.00615.63
7.1.270.0030.00615.48
7.1.260.0070.00615.61
7.1.200.0080.00015.55
7.1.100.0000.01218.25
7.1.70.0000.00817.07
7.1.60.0060.01019.29
7.1.50.0190.01034.68
7.1.00.0000.08022.40
7.0.200.0080.00016.31
7.0.60.0000.05719.91
7.0.50.0030.07017.66
7.0.40.0130.08720.41
7.0.30.0200.05020.34
7.0.20.0230.07720.14
7.0.10.0030.04720.17
7.0.00.0070.09320.30
5.6.280.0070.07021.10
5.6.210.0130.06720.51
5.6.200.0200.04318.13
5.6.190.0130.03320.41
5.6.180.0330.04320.61
5.6.170.0230.07020.51
5.6.160.0030.05020.50
5.6.150.0030.08718.12
5.6.140.0030.07018.14
5.6.130.0130.07718.20
5.6.120.0030.08721.15
5.6.110.0070.07320.99
5.6.100.0070.07020.97
5.6.90.0170.07321.13
5.6.80.0000.04320.36
5.5.350.4100.04020.41
5.5.340.0070.03717.99
5.5.330.0070.06720.53
5.5.320.0130.08320.07
5.5.310.0300.08720.34
5.5.300.0130.07318.04
5.5.290.0100.05317.98
5.5.280.0200.07320.77
5.5.270.0100.04720.77
5.5.260.0030.06720.88
5.5.250.0070.08020.60
5.5.240.0070.04720.27
5.4.450.0830.05719.55
5.4.440.0730.05719.12
5.4.430.0870.06319.11
5.4.420.1000.05019.12
5.4.410.0770.05719.38
5.4.400.0730.05319.15
5.4.390.0900.04019.19
5.4.380.0770.05319.02
5.4.370.0600.05719.02
5.4.360.0730.05719.09
5.4.350.0730.05319.17
5.4.340.0770.06319.17
5.4.320.0700.05719.25
5.4.310.0670.05718.94
5.4.300.0670.05319.02
5.4.290.0670.06718.98
5.4.280.0670.06319.06
5.4.270.0800.04718.76
5.4.260.0670.05319.07
5.4.250.0870.04719.02
5.4.240.0770.06019.01
5.4.230.0770.05318.83
5.4.220.0670.05718.79
5.4.210.0830.05718.85
5.4.200.0830.04318.85
5.4.190.0700.05719.14
5.4.180.0800.05018.97
5.4.170.0800.05019.06
5.4.160.0830.04019.18
5.4.150.0830.04318.92
5.4.140.0830.04016.30
5.4.130.0770.04716.27
5.4.120.0800.05016.38
5.4.110.0670.05316.48
5.4.100.0700.04716.06
5.4.90.0630.05016.40
5.4.80.0670.05716.20
5.4.70.0200.03716.29
5.4.60.0300.05316.39
5.4.50.0270.05316.40
5.4.40.0130.04016.45
5.4.30.0270.03716.36
5.4.20.0200.04316.41
5.4.10.0370.06716.32

preferences:
65.22 ms | 400 KiB | 5 Q