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> <!--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.0210.00016.63
8.3.50.0090.01021.29
8.3.40.0140.00419.14
8.3.30.0110.00418.96
8.3.20.0040.00420.51
8.3.10.0060.00321.94
8.3.00.0070.00023.73
8.2.180.0110.00718.42
8.2.170.0140.00322.96
8.2.160.0110.00420.47
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0050.00319.94
8.2.120.0040.00426.35
8.2.110.0060.00622.24
8.2.100.0110.00018.16
8.2.90.0040.00419.21
8.2.80.0040.00417.97
8.2.70.0050.00318.00
8.2.60.0000.00818.05
8.2.50.0060.00318.09
8.2.40.0040.00422.37
8.2.30.0040.00419.48
8.2.20.0000.00717.92
8.2.10.0000.00718.16
8.2.00.0080.00018.08
8.1.280.0090.00925.92
8.1.270.0080.00024.09
8.1.260.0040.00828.09
8.1.250.0080.00028.09
8.1.240.0030.00622.61
8.1.230.0090.00317.88
8.1.220.0060.00317.91
8.1.210.0030.00618.77
8.1.200.0090.00017.36
8.1.190.0000.00817.48
8.1.180.0030.00618.10
8.1.170.0040.00418.64
8.1.160.0000.00720.86
8.1.150.0040.00418.98
8.1.140.0030.00519.72
8.1.130.0000.00717.78
8.1.120.0000.00717.66
8.1.110.0050.00517.61
8.1.100.0030.00517.54
8.1.90.0050.00317.53
8.1.80.0040.00417.61
8.1.70.0000.00717.46
8.1.60.0030.00517.75
8.1.50.0030.00517.68
8.1.40.0060.00317.66
8.1.30.0000.00817.86
8.1.20.0030.00517.85
8.1.10.0000.00817.71
8.1.00.0040.00417.68
8.0.300.0060.00318.77
8.0.290.0000.00817.00
8.0.280.0030.00318.55
8.0.270.0080.00017.35
8.0.260.0000.00617.21
8.0.250.0000.00717.18
8.0.240.0000.00717.25
8.0.230.0000.00817.10
8.0.220.0040.00417.16
8.0.210.0000.00717.09
8.0.200.0050.00317.13
8.0.190.0000.00717.22
8.0.180.0000.00817.21
8.0.170.0080.00017.21
8.0.160.0000.00717.11
8.0.150.0040.00417.19
8.0.140.0000.00717.02
8.0.130.0030.00313.64
8.0.120.0050.00317.16
8.0.110.0040.00417.04
8.0.100.0070.00017.11
8.0.90.0040.00417.14
8.0.80.0060.00917.16
8.0.70.0000.00716.98
8.0.60.0030.00517.09
8.0.50.0000.00716.91
8.0.30.0070.01217.35
8.0.20.0110.01117.43
8.0.10.0000.00817.23
8.0.00.0100.00816.95
7.4.330.0050.00016.86
7.4.320.0070.00016.63
7.4.300.0000.00716.73
7.4.290.0000.00716.83
7.4.280.0030.00616.83
7.4.270.0040.00416.84
7.4.260.0070.00016.85
7.4.250.0000.00716.58
7.4.240.0040.00316.73
7.4.230.0000.00716.66
7.4.220.0130.00316.85
7.4.210.0070.00816.71
7.4.200.0070.00016.84
7.4.160.0080.00816.68
7.4.150.0140.00317.40
7.4.140.0100.01017.86
7.4.130.0060.01116.87
7.4.120.0100.00916.84
7.4.110.0130.00316.59
7.4.100.0160.00816.59
7.4.90.0220.00016.75
7.4.80.0100.00719.39
7.4.70.0140.00416.92
7.4.60.0090.00916.75
7.4.50.0030.01316.80
7.4.40.0110.00716.63
7.4.30.0140.00616.65
7.4.00.0050.01115.06
7.3.330.0020.00213.36
7.3.320.0050.00013.36
7.3.310.0030.00316.36
7.3.300.0070.00016.38
7.3.290.0040.00416.53
7.3.280.0090.01016.47
7.3.270.0160.00317.40
7.3.260.0100.01416.61
7.3.250.0140.00516.58
7.3.240.0090.00916.81
7.3.230.0090.00816.55
7.3.210.0070.01016.39
7.3.200.0140.00919.39
7.3.190.0120.00916.68
7.3.180.0040.01116.55
7.3.170.0040.01216.80
7.3.160.0140.00416.50
7.3.120.0140.00015.02
7.3.110.0070.01014.96
7.3.100.0030.01014.66
7.3.90.0070.00714.99
7.3.80.0030.00714.84
7.3.70.0040.01514.92
7.3.60.0100.00715.00
7.3.50.0000.01214.91
7.3.40.0040.01114.85
7.3.30.0040.00414.82
7.3.20.0040.00716.55
7.3.10.0120.00316.80
7.3.00.0110.00616.83
7.2.330.0070.01116.85
7.2.320.0100.01316.91
7.2.310.0130.00416.68
7.2.300.0090.00916.71
7.2.290.0090.00916.88
7.2.250.0030.01314.93
7.2.240.0130.00615.29
7.2.230.0040.01515.30
7.2.220.0000.00915.34
7.2.210.0140.00415.14
7.2.200.0070.00715.21
7.2.190.0070.00414.97
7.2.180.0040.01115.29
7.2.170.0100.00615.06
7.2.130.0110.00616.97
7.2.120.0050.00616.87
7.2.110.0000.01717.19
7.2.100.0100.00817.02
7.2.90.0080.01316.97
7.2.80.0110.00717.01
7.2.70.0160.00216.84
7.2.60.0060.01016.92
7.2.50.0100.00916.99
7.2.40.0040.01216.95
7.2.30.0080.00916.89
7.2.20.0050.00716.93
7.2.10.0040.01016.94
7.2.00.0040.01017.92
7.1.330.0040.01115.90
7.1.320.0040.00715.88
7.1.310.0000.00915.73
7.1.300.0070.00716.07
7.1.290.0040.01115.93
7.1.280.0030.01316.00
7.1.270.0000.00915.79
7.1.260.0070.00715.98
7.1.250.0060.00615.92
7.1.200.0030.01016.06
7.1.100.0040.00718.31
7.1.70.0050.00317.27
7.1.60.0150.00619.27
7.1.50.0140.00416.84
7.1.00.0030.07722.42
7.0.200.0090.00017.02
7.0.60.0070.04721.75
7.0.50.0100.04317.84
7.0.40.0170.05720.25
7.0.30.0230.04720.08
7.0.20.0070.05020.27
7.0.10.0130.08020.21
7.0.00.0030.04320.33
5.6.280.0070.03023.46
5.6.210.0230.07023.18
5.6.200.0070.07320.62
5.6.190.0130.08022.89
5.6.180.0300.07022.78
5.6.170.0370.07023.00
5.6.160.0030.07023.00
5.6.150.0070.05020.68
5.6.140.0070.08320.60
5.6.130.0170.07020.62
5.6.120.0070.07323.43
5.6.110.0130.06023.46
5.6.100.0200.08023.56
5.6.90.0100.08023.59
5.6.80.0070.07022.91
5.5.350.0070.09022.83
5.5.340.0230.03020.47
5.5.330.0030.07722.89
5.5.320.0200.04323.00
5.5.310.0200.05322.79
5.5.300.0100.07020.41
5.5.290.0070.04320.45
5.5.280.0070.05023.21
5.5.270.0030.04023.23
5.5.260.0100.08323.27
5.5.250.0030.09023.05
5.5.240.0130.06322.71

preferences:
54.01 ms | 401 KiB | 5 Q