3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT <table id="smm" width="650" border="0" cellpadding="0" cellspacing="0" align="center"> <tbody><tr> <td width="650" colspan="3" height="10" bgcolor="#FFFFFF"></td> </tr> <tr> <td width="76" height="143"></td> <td width="498" height="143" bgcolor="#ededed" align="center"> <br> <a href="" style="FONT-SIZE: 14pt; COLOR: #003663; FONT-FAMILY: arial; text-decoration: none;">IMPORTANT ANNOUNCEMENT 7TH AUGUST 2014</a> <br><br> <a href="" style="FONT-SIZE: 10pt; COLOR: #249dd8; FONT-FAMILY: arial; text-decoration: none;">This offer is valid until the 21st of August 2014.</a> <br><br> <a href=""><img src="http://freequotes.co.uk/MP_Template/show_me_more.jpg" width="255" height="46" border="0" alt="Show Me More. IMPORTANT ANNOUNCEMENT 7TH AUGUST 2014"></a> <br><br> </td> <td width="76" height="143"></td> </tr> </tbody></table> EOT; echo preg_replace('/\<table id="smm"(.*)<\/table>/', 'REP', $a);

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.0060.01218.68
8.3.50.0230.00821.93
8.3.40.0070.00718.81
8.3.30.0090.00619.00
8.3.20.0000.00720.37
8.3.10.0040.00421.67
8.3.00.0000.00817.91
8.2.180.0100.00716.63
8.2.170.0070.00722.96
8.2.160.0070.01020.57
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0030.01026.16
8.2.120.0040.00421.02
8.2.110.0060.00322.17
8.2.100.0040.00717.84
8.2.90.0000.00819.03
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0060.00317.93
8.2.50.0090.00018.07
8.2.40.0030.00918.16
8.2.30.0000.00718.19
8.2.20.0000.00817.95
8.2.10.0050.00318.07
8.2.00.0060.00317.75
8.1.280.0110.00325.92
8.1.270.0080.00023.79
8.1.260.0050.00226.35
8.1.250.0000.00828.09
8.1.240.0030.00623.80
8.1.230.0120.00019.11
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00617.47
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0030.00618.64
8.1.160.0040.00422.03
8.1.150.0020.00518.84
8.1.140.0030.00617.54
8.1.130.0000.00717.85
8.1.120.0070.00017.54
8.1.110.0000.00817.59
8.1.100.0000.00717.44
8.1.90.0030.00517.50
8.1.80.0040.00417.43
8.1.70.0000.00717.46
8.1.60.0030.00717.31
8.1.50.0040.00417.65
8.1.40.0090.00017.47
8.1.30.0050.00317.73
8.1.20.0000.00817.71
8.1.10.0040.00417.61
8.1.00.0000.00817.61
8.0.300.0070.00018.77
8.0.290.0000.00817.00
8.0.280.0040.00418.36
8.0.270.0000.00817.27
8.0.260.0000.00717.18
8.0.250.0000.00717.01
8.0.240.0000.00717.12
8.0.230.0060.00316.98
8.0.220.0030.00517.03
8.0.210.0080.00017.02
8.0.200.0060.00017.05
8.0.190.0000.00817.10
8.0.180.0040.00417.11
8.0.170.0040.00417.05
8.0.160.0000.00817.02
8.0.150.0020.00516.90
8.0.140.0000.00816.97
8.0.130.0030.00313.46
8.0.120.0000.00816.96
8.0.110.0040.00416.85
8.0.100.0000.00817.06
8.0.90.0030.00317.08
8.0.80.0160.00917.00
8.0.70.0040.00417.14
8.0.60.0050.00216.99
8.0.50.0050.00216.90
8.0.30.0050.01517.32
8.0.20.0080.01117.44
8.0.10.0020.00516.98
8.0.00.0100.00716.95
7.4.330.0020.00215.00
7.4.320.0070.00016.70
7.4.300.0000.00616.73
7.4.290.0000.00716.51
7.4.280.0060.00616.80
7.4.270.0000.00716.67
7.4.260.0000.00816.75
7.4.250.0040.00416.63
7.4.240.0060.00216.74
7.4.230.0080.00016.51
7.4.220.0070.01016.67
7.4.210.0170.00316.64
7.4.200.0000.00716.73
7.4.160.0070.00716.57
7.4.150.0090.00917.40
7.4.140.0140.00717.86
7.4.130.0050.01216.60
7.4.120.0100.00716.56
7.4.110.0120.00416.56
7.4.100.0070.01116.63
7.4.90.0090.00916.80
7.4.80.0030.01419.39
7.4.70.0060.01216.44
7.4.60.0060.01216.88
7.4.50.0040.00416.64
7.4.40.0090.00816.80
7.4.30.0070.01016.75
7.4.00.0080.00814.91
7.3.330.0020.00213.18
7.3.320.0000.00513.08
7.3.310.0030.00316.43
7.3.300.0000.00716.26
7.3.290.0090.00616.34
7.3.280.0080.00816.35
7.3.270.0140.00317.40
7.3.260.0170.00316.37
7.3.250.0100.00816.50
7.3.240.0120.00616.45
7.3.230.0130.00316.59
7.3.210.0140.00816.73
7.3.200.0130.00319.39
7.3.190.0100.01016.41
7.3.180.0180.00016.44
7.3.170.0070.01016.80
7.3.160.0120.00916.47
7.3.120.0080.00815.15
7.2.330.0150.00316.57
7.2.320.0030.01416.60
7.2.310.0130.00316.41
7.2.300.0060.01116.66
7.2.290.0060.00916.72
7.2.00.0030.01019.48
7.1.100.0140.00318.35
7.1.70.0040.00417.13
7.1.60.0080.01519.11
7.1.50.0190.00434.84
7.1.00.0000.08022.38
7.0.200.0060.00316.61
7.0.140.0000.07322.08
7.0.60.0100.05319.86
7.0.50.0100.03717.90
7.0.40.0070.08720.14
7.0.30.0500.05320.18
7.0.20.0270.04720.14
7.0.10.0100.08020.20
7.0.00.0070.04720.30
5.6.280.0030.07020.91
5.6.210.0170.06720.66
5.6.200.0030.09318.12
5.6.190.0030.04720.64
5.6.180.3170.04320.66
5.6.170.0230.07720.71
5.6.160.0070.08720.41
5.6.150.0200.06318.09
5.6.140.0000.04718.21
5.6.130.0070.06018.15
5.6.120.0070.05021.11
5.6.110.0100.05320.98
5.6.100.0070.04320.97
5.6.90.0130.06721.03
5.6.80.0000.05720.40
5.6.70.4430.03320.51
5.5.350.0130.08720.46
5.5.340.0100.07317.93
5.5.330.0030.04320.15
5.5.320.3430.03720.24
5.5.310.0370.06720.23
5.5.300.0070.08017.89
5.5.290.0030.04017.91
5.5.280.0030.05020.88
5.5.270.0070.04020.87
5.5.260.0070.07020.86
5.5.250.0170.07020.68
5.5.240.0400.06020.18
5.4.450.0370.05019.24
5.4.440.0230.04319.41
5.4.430.0230.04019.24
5.4.420.0230.04719.56
5.4.410.0570.04019.32
5.4.400.0270.04719.08
5.4.390.0600.04319.09
5.4.380.1100.07318.69
5.4.370.1130.06018.66
5.4.360.1300.05318.68
5.4.350.0930.06018.61
5.4.340.0930.05318.53
5.4.320.0050.03812.46
5.4.310.0040.03912.45
5.4.300.0040.03812.45
5.4.290.0060.05212.45
5.4.280.0050.03512.34
5.4.270.0070.03412.34
5.4.260.0040.03912.34
5.4.250.0090.04112.34
5.4.240.0060.04512.34
5.4.230.0070.04312.34
5.4.220.0080.03312.34
5.4.210.0090.03612.34
5.4.200.0070.03612.34
5.4.190.0020.03812.33
5.4.180.0030.03712.33
5.4.170.0070.03812.34
5.4.160.0040.03612.34
5.4.150.0050.03612.34
5.4.140.0040.03812.02
5.4.130.0070.03812.01
5.4.120.0030.03711.97
5.4.110.0060.03411.96
5.4.100.0030.03911.96
5.4.90.0060.03911.96
5.4.80.0120.03911.96
5.4.70.0050.03711.96
5.4.60.0060.03511.96
5.4.50.0050.03711.96
5.4.40.0090.03511.95
5.4.30.0070.04111.95
5.4.20.0060.03511.95
5.4.10.0070.03511.95
5.4.00.0110.03511.43
5.3.290.0090.03912.80
5.3.280.0100.04012.71
5.3.270.0060.04112.73
5.3.260.0080.04512.71
5.3.250.0030.04412.72
5.3.240.0080.04112.72
5.3.230.0060.04512.71
5.3.220.0050.04012.68
5.3.210.0060.04012.68
5.3.200.0040.03912.68
5.3.190.0040.03812.68
5.3.180.0090.03312.67
5.3.170.0040.03912.67
5.3.160.0020.04112.68
5.3.150.0060.03612.67
5.3.140.0080.03512.66
5.3.130.0060.03912.66
5.3.120.0040.04012.66
5.3.110.0030.04112.66
5.3.100.0040.04412.12
5.3.90.0040.03812.08
5.3.80.0040.03712.07
5.3.70.0070.03812.08
5.3.60.0020.03912.07
5.3.50.0070.03412.00
5.3.40.0030.03912.00
5.3.30.0070.03311.95
5.3.20.0050.03711.73
5.3.10.0020.03911.70
5.3.00.0030.03811.69
5.2.170.0030.0379.19
5.2.160.0040.0299.19
5.2.150.0050.0329.19
5.2.140.0030.0329.19
5.2.130.0040.0299.15
5.2.120.0050.0289.15
5.2.110.0040.0309.15
5.2.100.0040.0379.15
5.2.90.0050.0289.15
5.2.80.0070.0279.14
5.2.70.0060.0319.15
5.2.60.0080.0279.10
5.2.50.0050.0309.07
5.2.40.0070.0279.05
5.2.30.0090.0269.02
5.2.20.0040.0309.06
5.2.10.0060.0358.96
5.2.00.0040.0378.82
5.1.60.0060.0258.14
5.1.50.0040.0278.14
5.1.40.0050.0238.12
5.1.30.0060.0248.46
5.1.20.0000.0318.49
5.1.10.0020.0298.21
5.1.00.0040.0268.22
5.0.50.0020.0226.69
5.0.40.0040.0186.55
5.0.30.0050.0336.37
5.0.20.0040.0186.33
5.0.10.0040.0206.31
5.0.00.0030.0306.31
4.4.90.0050.0134.78
4.4.80.0030.0154.76
4.4.70.0030.0154.75
4.4.60.0010.0174.75
4.4.50.0020.0154.77
4.4.40.0030.0294.71
4.4.30.0030.0154.75
4.4.20.0050.0214.84
4.4.10.0000.0224.85
4.4.00.0030.0244.76
4.3.110.0030.0234.67
4.3.100.0040.0144.66
4.3.90.0020.0174.63
4.3.80.0040.0294.60
4.3.70.0010.0164.63
4.3.60.0020.0184.63
4.3.50.0030.0164.63
4.3.40.0030.0294.54
4.3.30.0030.0153.36
4.3.20.0020.0163.34
4.3.10.0030.0153.24
4.3.00.0030.01715.29

preferences:
43.82 ms | 401 KiB | 5 Q