3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOD <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="content-type"> <meta content="text/html"> <title>Bertoni - tašky s příběhem</title> <style type="text/css"> </style> </head> <body bgcolor="#edeeef" leftmargin="0" marginheigh="0" marginwidth="0" style="background-color:#edeeef" topmargin="0"><!--Pokud se vám zpráva nezobrazuje správně, klikněte zde.--> <table align="center" bgcolor="#FFFFFF" width="100%"> <tbody> <tr> <td> <table align="center" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" width="600"> <tbody> <tr> <td align="center" height="20"><font style="font-family:Arial,Helvetica,sans-serif;font-size: 11px; color: #7c7a7a; font-weight:normal">Nechte se zlákat kvalitními eko kabelkami.</font> <a href="&#91;WEB_VERSION_URL&#93;" style="color:#999999"><font style="font-family:Arial,Helvetica,sans-serif;font-size: 11px; color: #7c7a7a; font-weight:normal"> Klikněte zde.</font></a> </td> </tr> </tbody> </table> <!--logo MILVAI--> <table align="center" cellpadding="0" cellspacing="0" width="600"> <tbody> <tr> <td align="center" height="100" width="600"><a href="http://milvai.cz/bertoni-tasky-s-pribehem.html?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=1536-bertoni-tasky-s-pribehem"><img align="center" alt="Milvai - Týdení inspirace" src="http://cdn.deliverio.cz/milvai1536/images/logo.gif" style="display:block; border:0;" title="Milvai - Týdenní inspirace" /></a> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <!--banner--> <table align="center" cellpadding="0" cellspacing="0" width="600"> <tbody> <tr> <td align="center" height="212" width="600"><a href="http://milvai.cz/bertoni-tasky-s-pribehem.html?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=1536-bertoni-tasky-s-pribehem"><img align="center" alt="Hlavní banner pro kampaň Bertoni - tašky s příběhem" src="http://cdn.deliverio.cz/milvai1536/images/banner.jpg" style="display:block; border:0;" title="Bertoni - tašky s příběhem" /></a> </td> </tr> </tbody> </table> <!--Text--> <!--space--> <table align="center" cellpadding="0" cellspacing="0" height="6px" width="600"> <tbody> <tr> <td align="center" height="6px" width="600">&nbsp; </td> </tr> </tbody> </table> <!--produkty 1 řada--> <!--Ostatní kampaně--><!--socialni site--> <table align="center" cellpadding="0" cellspacing="0" height="20" width="600"> <tbody> <tr> <td>&nbsp; </td> </tr> </tbody> </table> <!--#--> <table align="center" cellpadding="0" cellspacing="0" height="20" width="600"> <tbody> <tr> <td>&nbsp; </td> </tr> </tbody> </table> <table align="center" cellpadding="0" cellspacing="0" width="600"> <tbody> <tr> <td align="center" width="600"><font style="font-family:Tahoma,Verdana,Arial; font-size:12px; color:#707070;" text-align="center">#milvaicz</font> </td> </tr> </tbody> </table> <!--konec--> <p>[CONSENT_FOOTER] </p> </body> </html> EOD; echo preg_replace('/<body(.*?)>((?:.|\n)*)<\/body>/', '<body><div$1>$2</div><div class="footer">FOOTER</div></body>', $html); echo "ERROR:" . preg_last_error();

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.0100.01016.75
8.3.50.0110.00416.91
8.3.40.0070.00719.04
8.3.30.0110.00718.97
8.3.20.0040.00420.33
8.3.10.0040.00423.61
8.3.00.0080.00023.78
8.2.180.0090.00618.54
8.2.170.0180.00319.02
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0040.00419.86
8.2.120.0050.00326.35
8.2.110.0130.00722.20
8.2.100.0070.00717.93
8.2.90.0040.00419.21
8.2.80.0030.00518.16
8.2.70.0070.00317.88
8.2.60.0040.00418.18
8.2.50.0000.00918.07
8.2.40.0000.00922.17
8.2.30.0000.00719.60
8.2.20.0040.00417.84
8.2.10.0040.00418.04
8.2.00.0040.00418.21
8.1.280.0140.00725.92
8.1.270.0000.00824.09
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0040.01822.59
8.1.230.0040.00819.27
8.1.220.0060.00317.88
8.1.210.0040.00418.77
8.1.200.0080.00017.60
8.1.190.0050.00317.38
8.1.180.0030.00618.10
8.1.170.0060.00318.78
8.1.160.0000.00720.69
8.1.150.0060.00318.85
8.1.140.0090.00019.63
8.1.130.0030.00517.80
8.1.120.0040.00417.60
8.1.110.0000.01017.62
8.1.100.0050.00317.59
8.1.90.0000.00717.65
8.1.80.0040.00417.64
8.1.70.0030.00317.61
8.1.60.0030.00617.72
8.1.50.0050.00317.68
8.1.40.0090.00017.70
8.1.30.0000.00917.82
8.1.20.0030.00517.71
8.1.10.0000.00817.66
8.1.00.0080.00017.70
8.0.300.0050.00218.77
8.0.290.0050.00317.13
8.0.280.0050.00218.60
8.0.270.0000.00817.32
8.0.260.0030.00317.43
8.0.250.0000.00817.21
8.0.240.0060.00017.23
8.0.230.0000.00817.23
8.0.220.0020.00517.09
8.0.210.0050.00217.25
8.0.200.0050.00217.15
8.0.190.0070.00017.19
8.0.180.0000.00717.20
8.0.170.0050.00317.23
8.0.160.0020.00517.16
8.0.150.0000.00817.21
8.0.140.0040.00317.17
8.0.130.0030.00313.55
8.0.120.0030.00617.06
8.0.110.0040.00417.16
8.0.100.0000.00817.15
8.0.90.0040.00416.99
8.0.80.0060.00917.06
8.0.70.0050.00317.04
8.0.60.0080.00017.16
8.0.50.0050.00217.18
8.0.30.0050.01317.11
8.0.20.0130.00817.49
8.0.10.0040.00417.29
8.0.00.0130.00717.11
7.4.330.0030.00316.73
7.4.320.0000.00616.77
7.4.300.0040.00416.88
7.4.290.0000.00816.84
7.4.280.0060.00316.87
7.4.270.0030.00516.79
7.4.260.0070.00016.76
7.4.250.0080.00016.62
7.4.240.0050.00216.77
7.4.230.0040.00416.64
7.4.220.0160.00016.76
7.4.210.0050.00916.75
7.4.200.0000.00716.93
7.4.160.0000.01616.72
7.4.150.0130.01317.40
7.4.140.0130.00817.86
7.4.130.0090.01016.82
7.4.120.0070.00916.78
7.4.110.0080.00816.53
7.4.100.0120.01216.70
7.4.90.0100.01016.87
7.4.80.0130.00619.39
7.4.70.0100.00616.64
7.4.60.0110.00516.79
7.4.50.0040.01116.90
7.4.40.0080.00816.82
7.4.30.0140.00516.84
7.4.10.0100.01015.14
7.4.00.0090.00815.29
7.3.330.0000.00513.36
7.3.320.0050.00013.29
7.3.310.0000.00816.37
7.3.300.0030.00316.48
7.3.290.0030.00316.48
7.3.280.0040.01416.50
7.3.270.0040.01317.40
7.3.260.0120.00616.76
7.3.250.0060.01216.49
7.3.240.0050.01416.61
7.3.230.0090.00916.54
7.3.210.0170.00016.50
7.3.200.0140.00319.39
7.3.190.0060.01716.50
7.3.180.0060.01016.70
7.3.170.0080.00816.53
7.3.160.0030.01816.93
7.3.130.0100.00714.93
7.3.120.0060.00615.05
7.3.110.0060.01215.08
7.3.100.0100.00315.27
7.3.90.0070.00715.26
7.3.80.0030.00915.12
7.3.70.0070.00714.96
7.3.60.0060.00914.82
7.3.50.0070.01015.12
7.3.40.0000.01315.12
7.3.30.0040.01215.05
7.3.20.0030.01016.52
7.3.10.0090.00616.97
7.3.00.0070.00416.64
7.2.330.0070.01416.77
7.2.320.0070.01017.00
7.2.310.0080.01316.93
7.2.300.0130.00416.66
7.2.290.0130.00716.68
7.2.260.0040.01415.14
7.2.250.0070.01015.33
7.2.240.0030.01314.98
7.2.230.0110.00415.21
7.2.220.0050.00515.13
7.2.210.0040.01115.45
7.2.200.0060.00915.34
7.2.190.0080.00814.84
7.2.180.0030.00914.98
7.2.170.0060.00815.16
7.2.160.0000.01415.23
7.2.150.0000.01716.89
7.2.140.0120.00317.01
7.2.130.0120.00417.10
7.2.120.0000.01016.95
7.2.110.0000.01716.91
7.2.100.0060.01016.94
7.2.90.0030.01317.14
7.2.80.0090.00617.21
7.2.70.0070.00717.07
7.2.60.0070.00816.88
7.2.50.0070.01017.24
7.2.40.0090.00916.85
7.2.30.0070.00717.09
7.2.20.0050.00517.11
7.2.10.0090.00617.18
7.2.00.0020.01018.14
7.1.330.0000.01515.98
7.1.320.0070.00716.01
7.1.310.0060.00616.04
7.1.300.0060.00615.77
7.1.290.0100.00315.93
7.1.280.0100.00615.88
7.1.270.0030.01015.60
7.1.260.0090.00415.89
7.1.250.0080.00816.15
7.1.240.0000.01116.07
7.1.230.0070.00715.68
7.1.220.0090.00616.10
7.1.210.0030.01516.03
7.1.200.0100.00515.91
7.1.190.0000.00915.70
7.1.180.0100.00316.01
7.1.170.0030.00615.75
7.1.160.0110.00416.10
7.1.150.0070.00715.94
7.1.140.0060.00615.96
7.1.130.0040.00816.02
7.1.120.0110.00416.00
7.1.110.0060.00916.10
7.1.100.0040.00517.08
7.1.90.0110.00015.79
7.1.80.0110.00316.14
7.1.70.0060.00616.52
7.1.60.0070.00617.65
7.1.50.0030.01416.39
7.1.40.0040.00815.68
7.1.30.0040.00815.90
7.1.20.0030.00715.98
7.1.10.0040.00716.02
7.1.00.0070.04019.18
7.0.330.0120.00315.29
7.0.320.0030.01115.55
7.0.310.0000.01115.23
7.0.300.0090.00615.65
7.0.290.0060.00615.77
7.0.280.0030.01015.66
7.0.270.0070.00715.65
7.0.260.0040.00815.62
7.0.250.0060.00915.38
7.0.240.0060.00915.49
7.0.230.0140.00015.68
7.0.220.0030.01015.58
7.0.210.0060.00615.43
7.0.200.0030.00916.12
7.0.190.0000.00915.47
7.0.180.0070.00715.51
7.0.170.0000.01215.66
7.0.160.0030.00615.59
7.0.150.0040.00915.73
7.0.140.0000.01015.52
7.0.130.0070.01015.67
7.0.120.0000.01115.60
7.0.110.0120.00615.77
7.0.100.0000.01015.51
7.0.90.0040.00415.60
7.0.80.0030.01515.49
7.0.70.0000.01115.71
7.0.60.0060.02518.70
7.0.50.0090.04016.75
7.0.40.0090.04616.92
7.0.30.0170.02916.81
7.0.20.0080.02516.84
7.0.10.0180.03616.80
7.0.00.0110.04116.95
5.6.400.0120.00617.67
5.6.390.0030.01317.36
5.6.380.0070.01017.66
5.6.370.0030.01317.50
5.6.360.0090.00617.63
5.6.350.0090.00917.61
5.6.340.0030.00917.44
5.6.330.0070.01017.73
5.6.320.0120.00817.93
5.6.310.0030.01417.82
5.6.300.0080.00817.66
5.6.290.0000.01617.80
5.6.280.0050.02720.77
5.6.270.0070.01017.50
5.6.260.0030.01017.73
5.6.250.0030.00717.49
5.6.240.0070.00717.77
5.6.230.0100.00717.75
5.6.220.0120.00917.54
5.6.210.0110.04020.58
5.6.200.0100.02619.47
5.6.190.0050.04520.55
5.6.180.0150.04520.75
5.6.170.0210.03720.64
5.6.160.0050.04320.56
5.6.150.0080.02519.38
5.6.140.0050.04219.34
5.6.130.0100.02519.24
5.6.120.0100.03320.83
5.6.110.0110.04120.80
5.6.100.0080.03020.72
5.6.90.0100.03721.01
5.6.80.0050.04320.50
5.6.70.0030.01417.13
5.6.60.0030.01617.48
5.6.50.0100.00717.55
5.6.40.0030.00717.68
5.6.30.0160.00017.72
5.6.20.0110.00817.41
5.6.10.0030.00917.43
5.6.00.0040.00817.33
5.5.380.0060.01317.48
5.5.370.0060.01217.65
5.5.360.0070.00717.42
5.5.350.0080.04020.54
5.5.340.0080.02219.31
5.5.330.0080.04720.41
5.5.320.0150.02320.43
5.5.310.0120.02720.40
5.5.300.0050.03219.39
5.5.290.0090.03619.24
5.5.280.0080.03220.77
5.5.270.0070.02520.66
5.5.260.0100.03220.76
5.5.250.0050.05320.63
5.5.240.0150.04220.16
5.5.230.0150.00317.51
5.5.220.0090.00917.15
5.5.210.0090.00317.41
5.5.200.0070.00717.48
5.5.190.0100.00717.60
5.5.180.0090.00317.26
5.5.170.0100.00717.21
5.5.160.0070.00417.65
5.5.150.0080.00817.34
5.5.140.0000.01517.38
5.5.130.0030.00716.99
5.5.120.0030.00717.20
5.5.110.0000.01317.56
5.5.100.0060.00917.40
5.5.90.0030.01017.49
5.5.80.0060.00917.52
5.5.70.0060.01017.28
5.5.60.0040.00817.45
5.5.50.0070.01017.53
5.5.40.0090.00917.42
5.5.30.0090.00317.30
5.5.20.0030.01317.17
5.5.10.0060.01217.68
5.5.00.0070.01017.59

preferences:
55.27 ms | 400 KiB | 5 Q