3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = <<<HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Parrainage</title> <style type="text/css"> body {-webkit-text-size-adjust:none; -ms-text-size-adjust:none;} body {margin:0; padding:0;} table td {border-collapse:collapse;} p {margin:0; padding:0; margin-bottom:0;} h1, h2, h3, h4, h5, h6 { color: black; line-height: 100%%; } a, a:link { color:#FB8B1E; text-decoration: underline; } body, #body_style { background:#eee; min-height:1000px; color:#333; font-family:Arial, Helvetica, sans-serif; font-size:12px; } span.yshortcuts { color:#000; background-color:none; border:none;} span.yshortcuts:hover, span.yshortcuts:active, span.yshortcuts:focus {color:#000; background-color:none; border:none;} a:visited { color: ; text-decoration: underline} a:focus { color: ; text-decoration: underline} a:hover { color: #FB8B1E; text-decoration: underline} </style> </head> <body style="background:#eee; min-height:1000px; color:#333;font-family:Arial, Helvetica, sans-serif; font-size:12px" alink="#FB8B1E" link="#FB8B1E" bgcolor="#EEEEEE" text="#333333" yahoo="fix"> <div id="body_style" style="padding:15px;text-align:center;"> <table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF" width="600" align="center" style="background-color:#fff;margin: 0 auto 20px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;"> <tr> <td> <table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF" width="540" align="center" style="margin:20px auto;"> <tr> <td style="border-bottom:1px solid #ccc;" align="center"> <p style="margin:0 0 20px;text-align:center;"> <img src="http://www.appro-auto.com/uploads/template/img/logo.png" alt="Appro Automobiles" width="195" height="61" /> </p> </td> </tr> <tr> <td style="text-align:left;" align="left"> <h1 style="font-size:22px;color:#F15B31;text-transform:uppercase;margin:25px 0 20px;"> Parrainage </h1> <p style="font-size:12px;color:#555;margin:0 0 20px;"> Parrain : %s %s (%s) </p> <p style="font-size:12px;color:#555;margin:0 0 20px;"> Desinataire : %s %s (%s) </p> </td> </tr> </table> </td> </tr> </table> </div> <!--end wrapper--> </body> </html> HTML; echo sprintf($msg, 1, 2, 3, 4, 5, 6);

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.0090.00616.25
8.3.50.0090.01218.03
8.3.40.0070.00718.65
8.3.30.0000.01418.84
8.3.20.0040.00418.60
8.3.10.0000.00820.66
8.3.00.0080.00019.25
8.2.180.0090.00618.19
8.2.170.0040.01122.96
8.2.160.0100.00618.80
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00520.46
8.2.110.0040.00720.52
8.2.100.0120.00017.78
8.2.90.0000.00919.34
8.2.80.0030.00519.40
8.2.70.0000.00817.25
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0070.00018.14
8.2.30.0000.00818.03
8.2.20.0090.00019.46
8.2.10.0040.00417.50
8.2.00.0070.00017.53
8.1.280.0070.00725.92
8.1.270.0070.00023.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00722.18
8.1.230.0040.00722.05
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0000.00817.40
8.1.180.0000.00818.10
8.1.170.0000.00918.75
8.1.160.0080.00018.73
8.1.150.0050.00318.49
8.1.140.0060.00317.39
8.1.130.0070.00017.94
8.1.120.0080.00017.39
8.1.110.0080.00017.40
8.1.100.0000.00717.28
8.1.90.0030.00417.38
8.1.80.0080.00017.42
8.1.70.0000.00717.44
8.1.60.0060.00317.40
8.1.50.0000.00817.32
8.1.40.0040.00417.47
8.1.30.0000.00817.59
8.1.20.0030.00617.54
8.1.10.0080.00017.41
8.1.00.0000.00917.34
8.0.300.0000.00720.03
8.0.290.0000.00716.75
8.0.280.0070.00018.36
8.0.270.0000.00717.29
8.0.260.0000.00616.88
8.0.250.0050.00217.04
8.0.240.0040.00417.05
8.0.230.0000.00616.95
8.0.220.0000.00716.86
8.0.210.0080.00016.85
8.0.200.0000.00716.91
8.0.190.0040.00416.96
8.0.180.0040.00416.88
8.0.170.0000.00716.80
8.0.160.0030.00316.87
8.0.150.0020.00516.79
8.0.140.0040.00416.86
8.0.130.0000.00513.33
8.0.120.0040.00416.89
8.0.110.0040.00416.72
8.0.100.0000.00716.93
8.0.90.0040.00416.96
8.0.80.0070.01316.88
8.0.70.0000.00716.73
8.0.60.0080.00016.86
8.0.50.0000.00716.76
8.0.30.0140.00716.92
8.0.20.0110.01116.94
8.0.10.0000.00817.06
8.0.00.0100.00816.50
7.4.330.0000.00512.89
7.4.320.0000.00816.37
7.4.300.0000.00616.35
7.4.290.0030.00316.49
7.4.280.0000.00716.55
7.4.270.0030.00316.46
7.4.260.0000.00513.23
7.4.250.0040.00416.54
7.4.240.0000.00716.44
7.4.230.0000.00716.61
7.4.220.0130.00916.54
7.4.210.0070.01016.41
7.4.200.0060.00016.45
7.4.190.0030.00316.70
7.4.160.0120.00316.56
7.4.150.0090.00916.52
7.4.140.0080.00916.41
7.4.130.0040.01216.59
7.4.120.0070.01116.54
7.4.110.0070.01116.28
7.4.100.0140.00316.36
7.4.90.0030.01516.52
7.4.80.0040.01819.39
7.4.70.0100.01416.37
7.4.60.0070.01116.39
7.4.50.0000.00416.35
7.4.40.0040.01116.32
7.4.30.0060.00916.32
7.4.00.0100.00514.89
7.3.330.0030.00312.96
7.3.320.0080.00013.11
7.3.310.0070.00016.21
7.3.300.0070.00016.25
7.3.290.0080.01016.24
7.3.280.0100.00916.17
7.3.270.0070.01116.29
7.3.260.0150.00416.27
7.3.250.0110.00716.24
7.3.240.0090.01216.42
7.3.230.0070.01116.39
7.3.210.0130.00916.51
7.3.200.0100.00716.38
7.3.190.0090.00916.52
7.3.180.0120.00616.22
7.3.170.0130.00316.16
7.3.160.0080.00816.25
7.3.120.0060.01114.70
7.3.110.0150.00414.86
7.3.100.0090.00314.67
7.3.90.0000.00914.84
7.3.80.0030.00714.63
7.3.70.0030.01014.86
7.3.60.0080.00314.54
7.3.50.0070.00714.77
7.3.40.0000.01314.46
7.3.30.0080.00514.57
7.3.20.0030.01016.60
7.3.10.0030.01416.54
7.3.00.0070.00716.58
7.2.330.0060.01216.26
7.2.320.0100.01416.30
7.2.310.0100.01316.55
7.2.300.0140.00316.62
7.2.290.0090.00916.21
7.2.250.0070.01414.91
7.2.240.0130.00715.00
7.2.230.0040.00714.78
7.2.220.0070.00315.09
7.2.210.0030.00814.72
7.2.200.0090.00314.92
7.2.190.0070.00714.72
7.2.180.0000.01214.91
7.2.170.0060.00614.93
7.2.00.0000.01019.25
7.1.330.0030.01015.48
7.1.320.0070.00715.39
7.1.310.0000.01115.87
7.1.300.0060.00315.69
7.1.290.0060.00615.64
7.1.280.0060.00615.76
7.1.270.0090.00015.63
7.1.260.0070.00715.32
7.1.100.0070.00318.17
7.1.70.0090.00616.74
7.1.60.0130.01319.31
7.1.50.0040.00716.79
7.1.00.0030.03322.35
7.0.200.0030.00316.43
7.0.140.0000.07021.96
7.0.120.0070.05022.16
7.0.60.0030.04319.79
7.0.50.0130.05317.82
7.0.40.0030.08317.78
7.0.30.0170.07317.76
7.0.20.0030.05717.74
7.0.10.0030.05717.79
7.0.00.0070.04017.71
5.6.280.0070.07020.93
5.6.210.0070.07720.61
5.6.200.0070.08718.18
5.6.190.0070.04718.08
5.6.180.0070.08018.20
5.6.170.0170.06718.18
5.6.160.0070.04718.18
5.6.150.0130.03718.15
5.6.140.0130.04318.18
5.6.130.0000.05318.10
5.6.120.0170.06718.13
5.6.110.0030.06018.21
5.6.100.0030.04318.11
5.6.90.0070.07718.20
5.6.80.0130.03717.59
5.6.70.0030.04017.56
5.6.60.0070.04717.46
5.6.50.0030.04017.57
5.6.40.0130.04317.58
5.6.30.0100.03317.44
5.6.20.0070.05717.56
5.6.10.0030.05317.43
5.6.00.0100.04717.57
5.5.350.0470.06320.30
5.5.340.0130.07717.99
5.5.330.0130.04718.02
5.5.320.0070.08317.98
5.5.310.0100.08317.91
5.5.300.0100.07017.87
5.5.290.0000.05318.00
5.5.280.0100.06317.95
5.5.270.0000.04317.95
5.5.260.0070.07318.02
5.5.250.0130.07017.78
5.5.240.0100.03317.30
5.5.230.0070.07717.36
5.5.220.0100.05317.38
5.5.210.0070.03717.39
5.5.200.0070.05717.33
5.5.190.0100.06317.30
5.5.180.0070.05017.33
5.5.160.0200.06317.33
5.5.150.0030.04717.26
5.5.140.0030.08317.31
5.5.130.0030.08317.37
5.5.120.0070.04017.36
5.5.110.0070.05017.32
5.5.100.0100.07317.14
5.5.90.0000.05717.27
5.5.80.0070.07317.17
5.5.70.0070.06317.26
5.5.60.0030.05017.12
5.5.50.0130.07017.13
5.5.40.0130.07017.13
5.5.30.0100.04017.13
5.5.20.0070.05717.23
5.5.10.0030.06717.12
5.5.00.0100.03317.11
5.4.450.0070.06319.30
5.4.440.0000.05019.24
5.4.430.0030.07719.53
5.4.420.0030.06719.33
5.4.410.0170.03719.40
5.4.400.0100.04719.04
5.4.390.0030.04019.11
5.4.380.0130.05719.07
5.4.370.0100.03319.01
5.4.360.0130.04319.03
5.4.350.0100.04718.89
5.4.340.0070.06719.03
5.4.320.0130.06319.09
5.4.310.0070.06019.22
5.4.300.0100.05719.11
5.4.290.0170.06719.03
5.4.280.0070.04319.01
5.4.270.0030.08318.93
5.4.260.0070.05318.98
5.4.250.0100.04318.98
5.4.240.0030.08319.02
5.4.230.0070.06318.98
5.4.220.0030.04019.02
5.4.210.0030.07718.97
5.4.200.0070.08019.00
5.4.190.0030.05318.88
5.4.180.0070.06318.81
5.4.170.0030.04718.88
5.4.160.0030.06019.09
5.4.150.0030.08318.97
5.4.140.0100.07316.45
5.4.130.0130.07316.27
5.4.120.0070.07016.28
5.4.110.0000.05016.28
5.4.100.0130.04316.37
5.4.90.0070.07316.38
5.4.80.0070.07316.31
5.4.70.0170.06316.31
5.4.60.0130.06016.59
5.4.50.0030.05016.34
5.4.40.0100.05016.32
5.4.30.0070.06316.21
5.4.20.0130.07016.25
5.4.10.0130.06316.11
5.4.00.0070.05315.91
5.3.290.0070.06714.64
5.3.280.0070.08014.54
5.3.270.0170.06714.39
5.3.260.0070.07714.55
5.3.250.0100.07714.54
5.3.240.0170.06314.57
5.3.230.0100.07014.52
5.3.220.0130.06714.65
5.3.210.0100.07314.54
5.3.200.0030.08314.43
5.3.190.0070.06314.55
5.3.180.0030.06314.51
5.3.170.0000.08314.55
5.3.160.0070.07314.34
5.3.150.0030.05714.48
5.3.140.0070.06014.52
5.3.130.0030.04714.38
5.3.120.0100.07314.52
5.3.110.0070.07314.48
5.3.100.0100.05313.89
5.3.90.0070.05313.98
5.3.80.0000.04313.97
5.3.70.0030.08013.97
5.3.60.0070.06713.77
5.3.50.0100.07013.93
5.3.40.0100.07313.89
5.3.30.0030.07013.89
5.3.20.0000.04013.62
5.3.10.0030.07313.51
5.3.00.0170.05013.57
5.2.170.0070.06311.15
5.2.160.0130.04711.07
5.2.150.0030.06311.18
5.2.140.0030.04711.08
5.2.130.0030.05011.11
5.2.120.0070.06011.08
5.2.110.0030.05711.00
5.2.100.0030.06310.88
5.2.90.0030.06311.08
5.2.80.0070.04011.07
5.2.70.0130.04711.13
5.2.60.0030.06711.09
5.2.50.0100.06010.95
5.2.40.0100.05311.01
5.2.30.0100.03710.95
5.2.20.0000.06311.06
5.2.10.0030.06310.95
5.2.00.0070.04710.91
5.1.60.0000.04010.09
5.1.50.0030.05010.10
5.1.40.0100.05010.11
5.1.30.0100.05310.45
5.1.20.0030.06010.50
5.1.10.0070.05010.19
5.1.00.0070.05310.16
5.0.50.0000.0509.00
5.0.40.0030.0439.00
5.0.30.0030.0579.00
5.0.20.0000.0479.00
5.0.10.0070.0439.00
5.0.00.0000.0509.00
4.4.90.0070.0309.00
4.4.80.0000.0409.00
4.4.70.0000.0339.00
4.4.60.0030.0279.00
4.4.50.0000.0379.00
4.4.40.0000.0379.00
4.4.30.0000.0279.00
4.4.20.0000.0409.00
4.4.10.0030.0179.00
4.4.00.0000.0379.00
4.3.110.0030.0379.00
4.3.100.0030.0409.00
4.3.90.0000.0339.00
4.3.80.0030.0379.00
4.3.70.0030.0339.00
4.3.60.0000.0379.00
4.3.50.0030.0339.00
4.3.40.0000.0579.00
4.3.30.0030.0339.01
4.3.20.0030.0379.01
4.3.10.0000.0209.01
4.3.00.0030.0209.01

preferences:
50.83 ms | 401 KiB | 5 Q