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"(\n|.*)(<\/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.0070.00716.48
8.3.50.0130.00321.94
8.3.40.0100.01018.91
8.3.30.0120.00319.04
8.3.20.0080.00020.08
8.3.10.0070.00021.88
8.3.00.0050.00318.04
8.2.180.0070.01116.37
8.2.170.0140.00722.96
8.2.160.0130.00320.39
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0070.01126.16
8.2.120.0080.00021.17
8.2.110.0030.00722.33
8.2.100.0100.00317.84
8.2.90.0050.00319.23
8.2.80.0040.00417.97
8.2.70.0090.00017.63
8.2.60.0030.00518.04
8.2.50.0050.00318.07
8.2.40.0030.00918.22
8.2.30.0040.00418.08
8.2.20.0080.00017.92
8.2.10.0040.00417.96
8.2.00.0040.00417.66
8.1.280.0150.00025.92
8.1.270.0030.00623.82
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0090.00022.11
8.1.230.0060.00619.00
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0050.00517.35
8.1.190.0050.00317.13
8.1.180.0040.00418.10
8.1.170.0030.00518.69
8.1.160.0040.00422.00
8.1.150.0040.00418.84
8.1.140.0110.00017.56
8.1.130.0030.00317.93
8.1.120.0050.00217.62
8.1.110.0000.00817.54
8.1.100.0040.00417.62
8.1.90.0050.00317.47
8.1.80.0040.00417.57
8.1.70.0000.00817.51
8.1.60.0030.00717.74
8.1.50.0050.00317.64
8.1.40.0030.00517.63
8.1.30.0050.00317.67
8.1.20.0040.00417.75
8.1.10.0050.00317.66
8.1.00.0080.00017.63
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0030.00318.40
8.0.270.0040.00417.25
8.0.260.0040.00417.40
8.0.250.0030.00317.16
8.0.240.0070.00017.20
8.0.230.0030.00617.13
8.0.220.0030.00317.08
8.0.210.0070.00017.06
8.0.200.0030.00317.09
8.0.190.0030.00617.19
8.0.180.0040.00416.97
8.0.170.0050.00316.97
8.0.160.0000.00716.93
8.0.150.0050.00316.88
8.0.140.0000.00716.96
8.0.130.0000.00613.52
8.0.120.0040.00416.93
8.0.110.0080.00016.88
8.0.100.0000.00817.09
8.0.90.0040.00416.89
8.0.80.0090.01217.09
8.0.70.0000.00717.10
8.0.60.0050.00317.09
8.0.50.0000.00716.85
8.0.30.0140.00517.15
8.0.20.0110.01117.40
8.0.10.0030.00517.24
8.0.00.0050.01117.13
7.4.330.0030.00315.04
7.4.320.0000.00716.66
7.4.300.0000.00616.77
7.4.290.0100.00016.67
7.4.280.0050.00216.56
7.4.270.0070.00016.77
7.4.260.0000.00716.77
7.4.250.0000.00716.78
7.4.240.0070.00016.72
7.4.230.0000.00716.77
7.4.220.0090.00916.67
7.4.210.0080.01516.79
7.4.200.0000.00716.61
7.4.160.0040.01216.73
7.4.150.0100.01417.40
7.4.140.0120.00817.86
7.4.130.0110.00616.60
7.4.120.0090.01116.63
7.4.110.0100.00716.73
7.4.100.0130.00716.65
7.4.90.0030.01816.73
7.4.80.0110.00619.39
7.4.70.0060.01316.79
7.4.60.0090.00916.75
7.4.50.0000.00616.76
7.4.40.0110.00616.62
7.4.30.0100.00616.84
7.4.10.0070.01416.66
7.4.00.0080.00615.87
7.3.330.0030.00313.11
7.3.320.0050.00013.07
7.3.310.0030.00316.21
7.3.300.0030.00316.32
7.3.290.0120.00316.31
7.3.280.0110.00516.37
7.3.270.0070.01117.40
7.3.260.0070.01516.65
7.3.250.0030.01316.45
7.3.240.0130.00916.72
7.3.230.0070.01016.41
7.3.210.0150.00316.67
7.3.200.0090.01219.39
7.3.190.0040.01416.46
7.3.180.0070.01316.40
7.3.170.0050.01116.57
7.3.160.0090.00916.61
7.3.130.0060.01316.45
7.3.120.0070.00915.55
7.3.110.0070.01016.67
7.3.100.0100.00616.70
7.3.90.0070.00716.39
7.3.80.0060.01016.50
7.3.70.0000.01216.50
7.3.60.0100.00316.51
7.3.50.0070.00716.36
7.3.40.0040.00716.50
7.3.30.0090.00616.51
7.3.20.0090.00918.09
7.3.10.0100.00718.10
7.3.00.0030.01018.21
7.2.330.0000.01816.70
7.2.320.0030.01416.78
7.2.310.0060.01016.58
7.2.300.0130.00316.76
7.2.290.0140.00316.56
7.2.260.0060.01216.58
7.2.250.0030.01416.57
7.2.240.0100.00616.59
7.2.230.0080.01116.58
7.2.220.0070.00716.60
7.2.210.0060.00616.74
7.2.200.0090.00316.56
7.2.190.0000.01616.55
7.2.180.0030.01316.72
7.2.170.0090.00616.46
7.2.160.0040.01416.51
7.2.150.0030.01318.36
7.2.140.0060.00918.45
7.2.130.0070.00718.41
7.2.120.0160.00018.45
7.2.110.0000.01318.34
7.2.100.0000.01518.53
7.2.90.0090.00918.44
7.2.80.0090.00618.40
7.2.70.0040.01118.46
7.2.60.0030.01218.46
7.2.50.0070.00718.43
7.2.40.0030.01018.42
7.2.30.0030.01718.40
7.2.20.0060.00318.44
7.2.10.0040.01118.40
7.2.00.0060.00818.77
7.1.330.0100.00617.30
7.1.320.0070.00417.69
7.1.310.0060.00917.62
7.1.300.0060.00617.46
7.1.290.0070.00717.42
7.1.280.0040.01417.20
7.1.270.0100.00717.42
7.1.260.0030.00717.32
7.1.250.0120.00017.45
7.1.240.0040.00917.42
7.1.230.0040.00817.44
7.1.220.0060.00917.35
7.1.210.0070.00717.39
7.1.200.0030.00717.23
7.1.190.0110.00417.46
7.1.180.0060.00617.53
7.1.170.0070.01017.24
7.1.160.0140.00417.41
7.1.150.0000.01017.33
7.1.140.0040.01117.35
7.1.130.0100.00017.36
7.1.120.0040.01417.46
7.1.110.0070.00717.49
7.1.100.0100.00717.73
7.1.90.0030.00917.51
7.1.80.0030.00617.49
7.1.70.0060.00417.27
7.1.60.0110.00918.31
7.1.50.0050.01517.15
7.1.40.0000.01417.39
7.1.30.0060.00917.33
7.1.20.0090.00317.43
7.1.10.0070.01117.30
7.1.00.0070.03819.82
7.0.330.0030.01017.20
7.0.320.0040.00716.96
7.0.310.0070.00716.89
7.0.300.0100.01017.17
7.0.290.0100.00717.20
7.0.280.0110.00317.22
7.0.270.0100.00316.82
7.0.260.0000.01517.29
7.0.250.0110.00717.28
7.0.240.0000.00917.07
7.0.230.0000.01417.33
7.0.220.0060.00617.23
7.0.210.0030.01017.17
7.0.200.0030.00716.97
7.0.190.0070.01117.07
7.0.180.0060.00617.22
7.0.170.0060.00617.26
7.0.160.0040.01117.01
7.0.150.0070.00717.22
7.0.140.0050.04319.61
7.0.130.0070.00717.21
7.0.120.0120.00317.15
7.0.110.0070.00717.14
7.0.100.0060.01317.05
7.0.90.0030.01217.07
7.0.80.0100.00317.20
7.0.70.0070.00717.00
7.0.60.0100.04018.54
7.0.50.0030.04817.43
7.0.40.0100.04517.59
7.0.30.0110.02817.47
7.0.20.0170.03917.54
7.0.10.0100.02117.69
7.0.00.0050.03017.70
5.6.400.0040.00816.07
5.6.390.0090.00615.99
5.6.380.0080.00415.73
5.6.370.0030.00615.96
5.6.360.0030.00915.89
5.6.350.0080.00915.64
5.6.340.0130.00316.03
5.6.330.0040.01115.88
5.6.320.0070.01115.77
5.6.310.0070.01015.97
5.6.300.0130.00316.07
5.6.290.0080.00615.95
5.6.280.0070.03718.62
5.6.270.0000.01615.89
5.6.260.0100.00615.66
5.6.250.0100.00615.99
5.6.240.0120.00315.92
5.6.230.0080.00915.82
5.6.220.0070.01015.62
5.6.210.0050.04218.34
5.6.200.0130.03816.93
5.6.190.0030.02818.37
5.6.180.1960.02518.19
5.6.170.0120.02718.24
5.6.160.0070.02618.08
5.6.150.0100.04316.98
5.6.140.0070.03217.04
5.6.130.0040.04717.03
5.6.120.0090.04718.50
5.6.110.0020.05218.48
5.6.100.0010.05118.39
5.6.90.0090.03518.41
5.6.80.0070.04318.11
5.6.70.2260.02218.04
5.6.60.0090.01215.70
5.6.50.0100.00615.85
5.6.40.0030.00915.93
5.6.30.0060.00915.72
5.6.20.0090.00615.72
5.6.10.0070.01015.71
5.6.00.0030.01015.60
5.5.380.0110.00815.75
5.5.370.0040.00816.00
5.5.360.0180.00315.71
5.5.350.0060.03518.02
5.5.340.0080.04316.83
5.5.330.0080.04318.02
5.5.320.1640.02217.93
5.5.310.0170.04018.09
5.5.300.0060.04416.94
5.5.290.0050.03516.82
5.5.280.0050.04518.39
5.5.270.0150.03818.24
5.5.260.0120.04318.37
5.5.250.0020.02818.16
5.5.240.0100.02017.93
5.5.230.0100.00715.69
5.5.220.0060.01215.79
5.5.210.0070.01415.71
5.5.200.0110.00715.72
5.5.190.0090.00615.70
5.5.180.0060.00615.80
5.5.170.0000.01615.57
5.5.160.0100.00315.90
5.5.150.0060.00915.94
5.5.140.0070.01015.80
5.5.130.0070.01315.78
5.5.120.0030.01615.55
5.5.110.0080.00815.77
5.5.100.0070.01115.73
5.5.90.0060.00915.79
5.5.80.0030.01215.75
5.5.70.0090.00615.59
5.5.60.0090.00915.60
5.5.50.0000.01015.71
5.5.40.0110.00015.71
5.5.30.0160.00015.78
5.5.20.0060.00315.54
5.5.10.0030.01015.89
5.5.00.0030.00615.69
5.4.450.0280.02816.12
5.4.440.0070.02515.91
5.4.430.0170.02715.95
5.4.420.0220.02616.06
5.4.410.0220.02516.07
5.4.400.0200.02715.79
5.4.390.0100.03015.97
5.4.380.0280.03015.72
5.4.370.0240.03015.64
5.4.360.0150.03015.57
5.4.350.0210.02815.66
5.4.340.0280.02515.66
5.4.330.0000.01312.70
5.4.320.0060.01912.57
5.4.310.0060.02012.57
5.4.300.0100.02012.57
5.4.290.0080.01912.57
5.4.280.0080.02012.52
5.4.270.0030.02512.52
5.4.260.0060.02012.52
5.4.250.0080.02012.52
5.4.240.0050.02112.52
5.4.230.0020.02412.52
5.4.220.0040.02512.52
5.4.210.0070.01912.52
5.4.200.0070.02312.52
5.4.190.0100.01812.51
5.4.180.0070.02312.52
5.4.170.0080.02212.52
5.4.160.0050.02212.52
5.4.150.0060.02712.52
5.4.140.0070.02112.36
5.4.130.0030.02212.35
5.4.120.0040.02512.33
5.4.110.0020.02412.33
5.4.100.0060.02012.33
5.4.90.0110.01812.33
5.4.80.0120.01912.33
5.4.70.0060.02212.33
5.4.60.0040.02212.33
5.4.50.0040.02212.33
5.4.40.0090.01612.32
5.4.30.0080.02112.32
5.4.20.0080.01812.32
5.4.10.0030.02512.32
5.4.00.0080.01812.07
5.3.290.0070.02512.88
5.3.280.0100.02112.79
5.3.270.0070.02312.93
5.3.260.0060.02312.84
5.3.250.0080.02712.84
5.3.240.0050.02412.87
5.3.230.0060.02412.80
5.3.220.0040.02312.82
5.3.210.0040.02112.81
5.3.200.0040.02312.70
5.3.190.0050.02112.77
5.3.180.0060.02312.83
5.3.170.0050.02212.76
5.3.160.0070.02112.89
5.3.150.0070.02012.83
5.3.140.0030.02412.81
5.3.130.0020.02412.81
5.3.120.0030.02412.83
5.3.110.0120.02112.89
5.3.100.0050.02312.58
5.3.90.0060.01912.55
5.3.80.0050.02312.45
5.3.70.0050.02412.41
5.3.60.0060.02512.51
5.3.50.0060.02412.36
5.3.40.0080.01912.38
5.3.30.0040.02312.38
5.3.20.0060.02212.30
5.3.10.0040.02112.21
5.3.00.0050.02312.19
5.2.170.0060.0309.20
5.2.160.0070.0279.19
5.2.150.0090.0269.20
5.2.140.0080.0279.19
5.2.130.0020.0319.15
5.2.120.0040.0299.15
5.2.110.0020.0439.15
5.2.100.0090.0359.15
5.2.90.0050.0299.15
5.2.80.0040.0319.14
5.2.70.0040.0319.15
5.2.60.0040.0319.10
5.2.50.0050.0299.07
5.2.40.0030.0309.05
5.2.30.0010.0339.03
5.2.20.0050.0279.07
5.2.10.0060.0268.97
5.2.00.0050.0298.84
5.1.60.0060.0228.14
5.1.50.0010.0278.14
5.1.40.0050.0238.13
5.1.30.0060.0298.48
5.1.20.0030.0288.49
5.1.10.0020.0288.22
5.1.00.0050.0328.22
5.0.50.0060.0266.70
5.0.40.0010.0246.56
5.0.30.0030.0346.37
5.0.20.0060.0186.34
5.0.10.0020.0216.32
5.0.00.0020.0326.31
4.4.90.0030.0154.78
4.4.80.0030.0154.75
4.4.70.0010.0174.75
4.4.60.0030.0184.76
4.4.50.0020.0274.77
4.4.40.0030.0294.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0010.0174.85
4.4.00.0040.0244.76
4.3.110.0010.0174.66
4.3.100.0020.0154.66
4.3.90.0040.0134.63
4.3.80.0030.0244.61
4.3.70.0020.0154.63
4.3.60.0030.0144.63
4.3.50.0040.0164.63
4.3.40.0040.0284.55
4.3.30.0030.0203.36
4.3.20.0010.0163.34
4.3.10.0020.0163.25
4.3.00.0030.01315.29

preferences:
45.2 ms | 401 KiB | 5 Q