3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT start<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>end table this is also here <table>another table</table> and this EOT; echo preg_replace('/<table id="smm"[^\<\/table>]*/', 'REP', $html);

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.0080.00616.50
8.3.50.0200.00722.05
8.3.40.0040.01118.86
8.3.30.0110.00319.07
8.3.20.0000.00920.20
8.3.10.0070.00021.73
8.3.00.0000.00817.91
8.2.180.0070.01116.38
8.2.170.0180.00022.96
8.2.160.0070.00722.13
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0040.00420.90
8.2.110.0040.00820.52
8.2.100.0080.00317.91
8.2.90.0030.00619.02
8.2.80.0000.00817.97
8.2.70.0030.00617.88
8.2.60.0040.00818.03
8.2.50.0040.00418.07
8.2.40.0000.01117.91
8.2.30.0050.00317.97
8.2.20.0040.00417.83
8.2.10.0000.00817.94
8.2.00.0090.00017.66
8.1.280.0120.00925.92
8.1.270.0060.00323.96
8.1.260.0080.00026.35
8.1.250.0090.00028.09
8.1.240.0030.00623.82
8.1.230.0040.00819.01
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0050.00317.38
8.1.180.0030.00518.10
8.1.170.0060.00318.65
8.1.160.0000.00722.00
8.1.150.0040.00418.77
8.1.140.0030.00717.54
8.1.130.0000.00717.86
8.1.120.0000.00717.62
8.1.110.0000.00717.52
8.1.100.0030.00417.48
8.1.90.0070.00017.58
8.1.80.0030.00517.57
8.1.70.0070.00017.50
8.1.60.0090.00017.66
8.1.50.0000.00817.54
8.1.40.0060.00317.54
8.1.30.0000.00917.65
8.1.20.0070.00017.76
8.1.10.0000.00817.64
8.1.00.0030.00617.60
8.0.300.0000.00718.77
8.0.290.0050.00517.00
8.0.280.0040.00418.35
8.0.270.0030.00317.29
8.0.260.0030.00317.38
8.0.250.0070.00017.11
8.0.240.0050.00217.05
8.0.230.0070.00417.00
8.0.220.0000.00716.94
8.0.210.0040.00416.95
8.0.200.0040.00417.10
8.0.190.0120.00017.04
8.0.180.0000.00716.95
8.0.170.0040.00417.05
8.0.160.0030.00317.02
8.0.150.0030.00816.86
8.0.140.0020.00516.91
8.0.130.0050.00013.45
8.0.120.0040.00417.05
8.0.110.0000.00717.02
8.0.100.0000.00716.94
8.0.90.0030.00316.88
8.0.80.0060.01717.00
8.0.70.0040.00417.08
8.0.60.0040.00416.95
8.0.50.0000.00716.93
8.0.30.0120.00717.39
8.0.20.0120.00917.40
8.0.10.0040.00417.19
8.0.00.0060.01116.95
7.4.330.0030.00315.02
7.4.320.0000.00716.76
7.4.300.0030.00316.76
7.4.290.0040.00416.80
7.4.280.0070.00016.74
7.4.270.0060.00316.77
7.4.260.0030.00616.70
7.4.250.0020.00516.62
7.4.240.0020.00516.58
7.4.230.0000.00816.50
7.4.220.0120.01516.84
7.4.210.0060.00916.79
7.4.200.0030.00316.79
7.4.160.0110.00416.60
7.4.150.0140.00317.40
7.4.140.0100.00917.86
7.4.130.0050.01216.62
7.4.120.0060.01416.68
7.4.110.0090.00916.71
7.4.100.0070.01016.57
7.4.90.0110.00716.73
7.4.80.0040.01519.39
7.4.70.0110.00816.88
7.4.60.0110.00816.61
7.4.50.0030.00516.63
7.4.40.0070.01016.68
7.4.30.0070.01016.72
7.4.00.0030.01315.34
7.3.330.0000.00513.20
7.3.320.0050.00013.26
7.3.310.0000.00716.36
7.3.300.0030.00316.34
7.3.290.0030.01616.33
7.3.280.0080.00816.33
7.3.270.0120.00617.40
7.3.260.0070.01116.41
7.3.250.0080.00816.37
7.3.240.0150.00316.53
7.3.230.0090.00916.73
7.3.210.0060.01016.61
7.3.200.0140.00919.39
7.3.190.0160.00016.48
7.3.180.0030.01316.46
7.3.170.0090.00616.41
7.3.160.0070.01016.54
7.3.120.0070.01015.06
7.2.330.0150.00316.70
7.2.320.0060.01116.71
7.2.310.0150.00316.70
7.2.300.0100.01016.59
7.2.290.0040.01216.82
7.2.80.0130.00316.55
7.2.60.0000.01316.88
7.2.00.0060.01019.41
7.1.200.0060.00615.93
7.1.100.0230.00917.93
7.1.70.0040.00417.43
7.1.60.0140.01019.11
7.1.50.0060.01617.08
7.1.00.0000.08022.55
7.0.200.0040.00416.89
7.0.140.0070.07322.00
7.0.60.0100.08019.78
7.0.50.0030.03717.79
7.0.40.0030.08320.11
7.0.30.0700.06020.30
7.0.20.0170.09020.22
7.0.10.0330.07720.05
7.0.00.0000.04720.18
5.6.210.0100.06320.66
5.6.200.0030.05318.12
5.6.190.0070.07320.58
5.6.180.0030.05320.63
5.6.170.0400.05020.38
5.6.160.0100.08720.49
5.6.150.0070.07318.12
5.6.140.0070.04318.11
5.6.130.0000.04718.22
5.6.120.0030.06320.98
5.6.110.0070.08720.98
5.6.100.0030.09020.99
5.6.90.0030.09021.12
5.6.80.0130.03020.44
5.6.70.4500.04020.47
5.5.350.0030.07020.40
5.5.340.0030.04317.92
5.5.330.0030.07320.15
5.5.320.0230.04720.51
5.5.310.0170.04020.12
5.5.300.0070.05017.90
5.5.290.0070.03717.98
5.5.280.0000.09020.77
5.5.270.0100.08320.66
5.5.260.0130.05720.79
5.5.250.0070.04320.46
5.5.240.0070.06320.04
5.4.450.0430.04319.49
5.4.440.1000.04019.24
5.4.430.0270.04319.38
5.4.420.0100.04319.42
5.4.410.0170.04719.24
5.4.400.0170.04719.09
5.4.390.0500.04319.06
5.4.380.0570.05018.70
5.4.370.0370.06018.59
5.4.360.0330.05018.61
5.4.350.0470.04318.74
5.4.340.0300.08018.66
5.4.320.0050.04512.45
5.4.310.0060.03712.45
5.4.300.0060.03712.45
5.4.290.0070.03912.45
5.4.280.0080.04512.34
5.4.270.0060.03512.34
5.4.260.0030.03912.35
5.4.250.0050.04112.35
5.4.240.0080.03612.34
5.4.230.0080.03512.34
5.4.220.0060.03512.34
5.4.210.0050.03612.34
5.4.200.0060.03612.34
5.4.190.0060.04112.33
5.4.180.0070.03812.34
5.4.170.0070.03312.35
5.4.160.0040.03612.34
5.4.150.0070.03412.34
5.4.140.0060.03612.02
5.4.130.0060.03512.01
5.4.120.0030.03911.97
5.4.110.0050.03911.96
5.4.100.0060.04211.96
5.4.90.0050.04011.96
5.4.80.0050.03711.96
5.4.70.0020.03811.96
5.4.60.0040.03611.96
5.4.50.0070.03311.96
5.4.40.0090.03111.95
5.4.30.0060.03511.94
5.4.20.0070.03311.95
5.4.10.0050.03611.95
5.4.00.0050.03711.44
5.3.290.0080.04212.80
5.3.280.0100.04212.71
5.3.270.0050.03912.73
5.3.260.0080.03612.72
5.3.250.0030.03912.72
5.3.240.0040.03812.72
5.3.230.0080.03812.70
5.3.220.0070.04412.68
5.3.210.0050.04712.68
5.3.200.0070.03712.68
5.3.190.0050.03812.68
5.3.180.0060.03612.67
5.3.170.0070.03412.67
5.3.160.0030.03912.68
5.3.150.0060.03612.68
5.3.140.0040.03712.66
5.3.130.0060.03812.66
5.3.120.0070.03812.66
5.3.110.0040.04312.66
5.3.100.0050.03912.12
5.3.90.0080.04012.09
5.3.80.0080.03312.08
5.3.70.0060.03612.07
5.3.60.0070.03512.07
5.3.50.0090.04212.00
5.3.40.0040.03812.00
5.3.30.0040.03511.96
5.3.20.0050.04011.73
5.3.10.0040.04711.70
5.3.00.0100.04011.69
5.2.170.0070.0289.19
5.2.160.0060.0279.20
5.2.150.0070.0379.19
5.2.140.0120.0339.19
5.2.130.0050.0279.15
5.2.120.0040.0299.15
5.2.110.0030.0319.15
5.2.100.0050.0279.15
5.2.90.0030.0309.15
5.2.80.0030.0319.14
5.2.70.0050.0309.14
5.2.60.0040.0309.10
5.2.50.0070.0449.07
5.2.40.0060.0279.05
5.2.30.0030.0389.02
5.2.20.0080.0349.07
5.2.10.0020.0308.98
5.2.00.0030.0308.83
5.1.60.0020.0268.15
5.1.50.0060.0288.14
5.1.40.0050.0238.12
5.1.30.0060.0238.47
5.1.20.0100.0278.50
5.1.10.0070.0238.22
5.1.00.0040.0258.22
5.0.50.0050.0256.70
5.0.40.0040.0186.56
5.0.30.0050.0376.37
5.0.20.0020.0206.34
5.0.10.0030.0206.32
5.0.00.0040.0306.31
4.4.90.0030.0154.78
4.4.80.0050.0134.75
4.4.70.0020.0214.75
4.4.60.0030.0164.76
4.4.50.0030.0144.77
4.4.40.0030.0244.71
4.4.30.0030.0194.76
4.4.20.0030.0234.85
4.4.10.0020.0174.85
4.4.00.0030.0244.75
4.3.110.0040.0144.67
4.3.100.0020.0154.66
4.3.90.0020.0164.63
4.3.80.0010.0264.60
4.3.70.0050.0134.63
4.3.60.0040.0144.63
4.3.50.0020.0164.63
4.3.40.0020.0264.55
4.3.30.0030.0203.36
4.3.20.0030.0163.34
4.3.10.0010.0163.25
4.3.00.0100.01715.29

preferences:
58.76 ms | 401 KiB | 5 Q