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.0100.00316.62
8.3.50.0200.00921.98
8.3.40.0110.00719.09
8.3.30.0110.00418.92
8.3.20.0000.00820.34
8.3.10.0040.00421.77
8.3.00.0000.00817.89
8.2.180.0090.00916.75
8.2.170.0120.00622.96
8.2.160.0070.00722.20
8.2.150.0050.00224.18
8.2.140.0070.00024.66
8.2.130.0140.00026.16
8.2.120.0040.00421.02
8.2.110.0090.00020.56
8.2.100.0080.00417.91
8.2.90.0040.00417.85
8.2.80.0040.00417.97
8.2.70.0040.00417.88
8.2.60.0060.00317.68
8.2.50.0090.00018.07
8.2.40.0060.00618.11
8.2.30.0000.00918.04
8.2.20.0050.00317.84
8.2.10.0050.00218.14
8.2.00.0000.00817.65
8.1.280.0110.00425.92
8.1.270.0040.00723.99
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0070.00322.42
8.1.230.0040.00820.82
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0110.00317.22
8.1.190.0050.00317.25
8.1.180.0000.00818.10
8.1.170.0000.00918.53
8.1.160.0070.00021.86
8.1.150.0040.00418.85
8.1.140.0050.00617.50
8.1.130.0030.00317.78
8.1.120.0040.00417.47
8.1.110.0040.00417.41
8.1.100.0000.00717.55
8.1.90.0080.00017.42
8.1.80.0000.00817.53
8.1.70.0000.00717.43
8.1.60.0030.00617.68
8.1.50.0040.00417.62
8.1.40.0080.00017.51
8.1.30.0040.00417.66
8.1.20.0080.00017.75
8.1.10.0000.00717.68
8.1.00.0030.00717.64
8.0.300.0040.00419.89
8.0.290.0040.00416.88
8.0.280.0040.00418.35
8.0.270.0000.00717.25
8.0.260.0000.00617.24
8.0.250.0000.00717.24
8.0.240.0030.00317.16
8.0.230.0060.00317.02
8.0.220.0070.00017.07
8.0.210.0070.00017.04
8.0.200.0070.00017.04
8.0.190.0000.01117.02
8.0.180.0080.00017.00
8.0.170.0070.00017.16
8.0.160.0050.00317.05
8.0.150.0000.00716.96
8.0.140.0040.00416.94
8.0.130.0030.00313.36
8.0.120.0000.00716.96
8.0.110.0000.00716.96
8.0.100.0000.00717.10
8.0.90.0030.00417.04
8.0.80.0110.00817.05
8.0.70.0000.00717.11
8.0.60.0000.00716.99
8.0.50.0000.00717.04
8.0.30.0100.00817.30
8.0.20.0060.01317.40
8.0.10.0000.00717.07
8.0.00.0080.01016.82
7.4.330.0050.00015.00
7.4.320.0030.00316.78
7.4.300.0060.00016.66
7.4.290.0090.00016.65
7.4.280.0060.00316.66
7.4.270.0050.00216.52
7.4.260.0000.00716.64
7.4.250.0000.00716.62
7.4.240.0030.00516.61
7.4.230.0000.00716.75
7.4.220.0090.01516.80
7.4.210.0040.01116.80
7.4.200.0050.00316.86
7.4.160.0090.00616.68
7.4.150.0040.01417.40
7.4.140.0030.01417.86
7.4.130.0070.01116.63
7.4.120.0090.01116.44
7.4.110.0130.01016.72
7.4.100.0150.00316.69
7.4.90.0060.01116.53
7.4.80.0160.00919.39
7.4.70.0120.00916.58
7.4.60.0160.00316.68
7.4.50.0020.00216.48
7.4.40.0060.00916.73
7.4.30.0090.00616.78
7.4.00.0040.00815.29
7.3.330.0000.00513.11
7.3.320.0030.00313.18
7.3.310.0030.00316.29
7.3.300.0070.00016.39
7.3.290.0050.00916.30
7.3.280.0130.00416.35
7.3.270.0160.00017.40
7.3.260.0060.01216.66
7.3.250.0090.00816.70
7.3.240.0110.00716.54
7.3.230.0100.01316.44
7.3.210.0030.01416.32
7.3.200.0040.01619.39
7.3.190.0040.01416.59
7.3.180.0120.00416.40
7.3.170.0080.00816.54
7.3.160.0090.01416.32
7.3.120.0080.00814.89
7.2.330.0090.01016.60
7.2.320.0180.00416.78
7.2.310.0060.01116.66
7.2.300.0090.00916.66
7.2.290.0070.01016.75
7.2.00.0040.01119.50
7.1.100.0200.00418.32
7.1.70.0000.00717.30
7.1.60.0140.01119.11
7.1.50.0100.01017.16
7.1.00.0030.07722.47
7.0.200.0000.00716.97
7.0.140.0070.07021.94
7.0.60.0100.08320.01
7.0.50.0030.04717.88
7.0.40.0170.06320.31
7.0.30.0330.04320.20
7.0.20.0270.07720.18
7.0.10.0030.06720.27
7.0.00.0170.07020.17
5.6.280.0030.07320.81
5.6.210.0070.08020.54
5.6.200.0130.07718.22
5.6.190.0070.04720.41
5.6.180.3730.04720.43
5.6.170.0200.04320.63
5.6.160.0070.04020.48
5.6.150.0030.08318.18
5.6.140.0100.08018.11
5.6.130.0000.04318.20
5.6.120.0130.06721.00
5.6.110.0030.08320.98
5.6.100.0100.05021.08
5.6.90.0070.05721.01
5.6.80.0130.07720.36
5.5.350.0170.08020.41
5.5.340.0030.04017.88
5.5.330.0100.04720.21
5.5.320.3130.04020.32
5.5.310.0370.07320.12
5.5.300.0070.08017.98
5.5.290.0100.04718.01
5.5.280.0130.07020.77
5.5.270.0000.04320.97
5.5.260.0070.04320.63
5.5.250.0130.07720.79
5.5.240.4070.04320.27
5.4.450.1430.04719.46
5.4.440.0570.04019.54
5.4.430.0300.04019.45
5.4.420.0470.04719.56
5.4.410.0200.04718.97
5.4.400.0500.03319.11
5.4.390.0700.04318.93
5.4.380.0400.06318.68
5.4.370.0630.06318.68
5.4.360.0470.06718.74
5.4.350.0670.07318.64
5.4.340.0470.05718.73
5.4.320.0070.04612.45
5.4.310.0060.03812.45
5.4.300.0100.03312.45
5.4.290.0060.03712.45
5.4.280.0070.03312.34
5.4.270.0050.04312.34
5.4.260.0040.04012.34
5.4.250.0050.03912.35
5.4.240.0060.03612.35
5.4.230.0050.04212.34
5.4.220.0060.03712.34
5.4.210.0090.04312.34
5.4.200.0060.03712.34
5.4.190.0040.03912.34
5.4.180.0080.03712.33
5.4.170.0060.04012.35
5.4.160.0110.03912.34
5.4.150.0090.03612.34
5.4.140.0080.03912.02
5.4.130.0050.03512.01
5.4.120.0040.03611.96
5.4.110.0060.03411.96
5.4.100.0040.03611.97
5.4.90.0060.03511.96
5.4.80.0040.03811.96
5.4.70.0070.03211.96
5.4.60.0060.03511.96
5.4.50.0040.03711.96
5.4.40.0040.03711.95
5.4.30.0060.04011.95
5.4.20.0050.03711.95
5.4.10.0070.03411.95
5.4.00.0040.03811.43
5.3.290.0080.03912.80
5.3.280.0080.03612.71
5.3.270.0050.03912.72
5.3.260.0050.04012.72
5.3.250.0070.03512.72
5.3.240.0110.03112.72
5.3.230.0050.03912.71
5.3.220.0050.03812.68
5.3.210.0060.03912.68
5.3.200.0050.03912.68
5.3.190.0040.03812.68
5.3.180.0040.03712.67
5.3.170.0050.03612.67
5.3.160.0050.03712.67
5.3.150.0050.03712.67
5.3.140.0060.03712.66
5.3.130.0060.03812.65
5.3.120.0050.04712.66
5.3.110.0110.04012.66
5.3.100.0060.05012.12
5.3.90.0140.04612.09
5.3.80.0060.04912.08
5.3.70.0090.03512.08
5.3.60.0060.03912.07
5.3.50.0060.03612.00
5.3.40.0020.03912.00
5.3.30.0090.03111.95
5.3.20.0040.03711.73
5.3.10.0070.03311.70
5.3.00.0070.03911.69
5.2.170.0040.0339.20
5.2.160.0050.0359.20
5.2.150.0080.0269.19
5.2.140.0100.0279.18
5.2.130.0040.0319.15
5.2.120.0030.0299.15
5.2.110.0090.0259.15
5.2.100.0050.0279.16
5.2.90.0040.0299.15
5.2.80.0020.0399.14
5.2.70.0040.0319.15
5.2.60.0040.0349.10
5.2.50.0080.0289.07
5.2.40.0080.0269.05
5.2.30.0030.0309.03
5.2.20.0070.0329.07
5.2.10.0070.0308.97
5.2.00.0040.0318.84
5.1.60.0070.0278.15
5.1.50.0050.0288.14
5.1.40.0020.0288.13
5.1.30.0040.0268.47
5.1.20.0070.0258.49
5.1.10.0010.0298.22
5.1.00.0030.0368.22
5.0.50.0030.0276.70
5.0.40.0060.0256.56
5.0.30.0030.0416.37
5.0.20.0030.0246.34
5.0.10.0050.0196.32
5.0.00.0060.0296.32
4.4.90.0040.0144.78
4.4.80.0010.0244.75
4.4.70.0050.0184.75
4.4.60.0020.0204.75
4.4.50.0050.0134.77
4.4.40.0030.0254.71
4.4.30.0010.0174.76
4.4.20.0020.0154.84
4.4.10.0060.0174.85
4.4.00.0010.0264.76
4.3.110.0020.0184.67
4.3.100.0010.0264.66
4.3.90.0040.0234.64
4.3.80.0020.0244.61
4.3.70.0020.0154.63
4.3.60.0040.0134.63
4.3.50.0030.0154.63
4.3.40.0010.0254.56
4.3.30.0020.0153.36
4.3.20.0030.0183.34
4.3.10.0010.0193.25
4.3.00.0130.02015.29

preferences:
48.46 ms | 401 KiB | 5 Q