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.62
8.3.50.0070.01022.05
8.3.40.0140.00719.24
8.3.30.0120.00418.98
8.3.20.0000.00820.38
8.3.10.0080.00021.95
8.3.00.0040.00417.80
8.2.180.0140.00716.50
8.2.170.0110.00722.96
8.2.160.0030.01020.41
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0100.00726.16
8.2.120.0000.00821.21
8.2.110.0030.00720.27
8.2.100.0080.00418.16
8.2.90.0040.00418.34
8.2.80.0000.00817.97
8.2.70.0080.00018.00
8.2.60.0040.00717.93
8.2.50.0000.00818.07
8.2.40.0030.00620.07
8.2.30.0080.00018.13
8.2.20.0000.00817.89
8.2.10.0000.00718.04
8.2.00.0000.00817.75
8.1.280.0090.00625.92
8.1.270.0080.00023.80
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.29
8.1.230.0040.00820.79
8.1.220.0000.00817.79
8.1.210.0000.00818.98
8.1.200.0040.00417.47
8.1.190.0040.00417.13
8.1.180.0000.00918.10
8.1.170.0050.00318.76
8.1.160.0050.00322.03
8.1.150.0040.00418.81
8.1.140.0080.00417.63
8.1.130.0030.00317.91
8.1.120.0040.00317.58
8.1.110.0050.00217.43
8.1.100.0040.00417.56
8.1.90.0070.00017.51
8.1.80.0040.00417.50
8.1.70.0070.00017.57
8.1.60.0110.00017.71
8.1.50.0000.00817.66
8.1.40.0030.00517.56
8.1.30.0030.00617.86
8.1.20.0000.00817.81
8.1.10.0030.00517.71
8.1.00.0030.00517.50
8.0.300.0060.00320.16
8.0.290.0080.00017.00
8.0.280.0030.00318.58
8.0.270.0040.00417.32
8.0.260.0050.00317.30
8.0.250.0000.00717.13
8.0.240.0070.00017.11
8.0.230.0030.00617.04
8.0.220.0000.00717.11
8.0.210.0070.00017.10
8.0.200.0030.00317.11
8.0.190.0000.00717.03
8.0.180.0040.00417.03
8.0.170.0040.00417.08
8.0.160.0040.00417.04
8.0.150.0030.00617.06
8.0.140.0040.00417.12
8.0.130.0030.00313.50
8.0.120.0040.00416.98
8.0.110.0040.00417.09
8.0.100.0000.00716.92
8.0.90.0030.00316.93
8.0.80.0170.00317.10
8.0.70.0030.00517.08
8.0.60.0040.00417.20
8.0.50.0030.00516.87
8.0.30.0110.00817.21
8.0.20.0060.01317.40
8.0.10.0040.00417.29
8.0.00.0110.00716.85
7.4.330.0000.00515.04
7.4.320.0000.00716.81
7.4.300.0000.00816.75
7.4.290.0090.00316.61
7.4.280.0040.00416.60
7.4.270.0000.00716.70
7.4.260.0000.00816.68
7.4.250.0040.00416.67
7.4.240.0020.00616.73
7.4.230.0070.00016.79
7.4.220.0120.00616.92
7.4.210.0030.01116.81
7.4.200.0000.00816.79
7.4.160.0070.01016.54
7.4.150.0060.01217.40
7.4.140.0060.01117.86
7.4.130.0100.00816.74
7.4.120.0080.01116.81
7.4.110.0140.00416.78
7.4.100.0110.00716.68
7.4.90.0120.00616.84
7.4.80.0100.00719.39
7.4.70.0070.01416.60
7.4.60.0100.00716.87
7.4.50.0000.00416.84
7.4.40.0100.00616.43
7.4.30.0060.00916.71
7.4.10.0040.01115.43
7.4.00.0100.00615.08
7.3.330.0000.00613.25
7.3.320.0000.00513.23
7.3.310.0000.00716.54
7.3.300.0030.00316.41
7.3.290.0060.00816.42
7.3.280.0070.00916.37
7.3.270.0070.01017.40
7.3.260.0090.00916.46
7.3.250.0130.00316.46
7.3.240.0160.00616.51
7.3.230.0110.00516.39
7.3.210.0170.00316.40
7.3.200.0080.01419.39
7.3.190.0070.01016.57
7.3.180.0100.00716.57
7.3.170.0070.01016.59
7.3.160.0170.00716.41
7.3.130.0070.01015.13
7.3.120.0080.00814.97
7.3.110.0090.00914.86
7.3.100.0100.00315.13
7.3.90.0070.00715.19
7.3.80.0000.01214.59
7.3.70.0060.00914.98
7.3.60.0030.00615.03
7.3.50.0000.01415.02
7.3.40.0040.00415.05
7.3.30.0040.01214.97
7.3.20.0120.00316.77
7.3.10.0000.01016.71
7.3.00.0030.00916.89
7.2.330.0080.00916.51
7.2.320.0110.00716.63
7.2.310.0120.00416.84
7.2.300.0090.00916.56
7.2.290.0160.00316.70
7.2.260.0090.00915.33
7.2.250.0110.00714.92
7.2.240.0150.00015.19
7.2.230.0040.00715.06
7.2.220.0080.00815.13
7.2.210.0100.00315.21
7.2.200.0040.01115.05
7.2.190.0070.01015.00
7.2.180.0030.01215.07
7.2.170.0070.00414.88
7.2.160.0080.00815.18
7.2.150.0070.01017.17
7.2.140.0060.00616.67
7.2.130.0030.01216.74
7.2.120.0130.00317.01
7.2.110.0110.00416.93
7.2.100.0030.00716.74
7.2.90.0000.01816.99
7.2.80.0000.01217.05
7.2.70.0000.01416.98
7.2.60.0050.00917.06
7.2.50.0000.01517.06
7.2.40.0070.00417.07
7.2.30.0100.00716.98
7.2.20.0060.00817.00
7.2.10.0000.01616.95
7.2.00.0050.01218.38
7.1.330.0000.01515.75
7.1.320.0060.00915.87
7.1.310.0030.00615.85
7.1.300.0080.00415.86
7.1.290.0000.00915.99
7.1.280.0090.00016.03
7.1.270.0140.00415.67
7.1.260.0090.00615.93
7.1.250.0030.00915.67
7.1.240.0030.00616.00
7.1.230.0090.00015.75
7.1.220.0040.00815.97
7.1.210.0000.01116.11
7.1.200.0050.00716.04
7.1.190.0070.00315.83
7.1.180.0000.01015.82
7.1.170.0030.00715.81
7.1.160.0000.01115.76
7.1.150.0140.00015.99
7.1.140.0070.00316.09
7.1.130.0070.00716.01
7.1.120.0040.01115.87
7.1.110.0060.00916.02
7.1.100.0030.01017.20
7.1.90.0040.01116.02
7.1.80.0070.00715.79
7.1.70.0000.00916.46
7.1.60.0090.01017.57
7.1.50.0090.00616.30
7.1.40.0100.00316.09
7.1.30.0080.00415.67
7.1.20.0040.00415.75
7.1.10.0000.01016.03
7.1.00.0050.04019.31
7.0.330.0100.00315.37
7.0.320.0040.01115.68
7.0.310.0030.01015.50
7.0.300.0100.00315.66
7.0.290.0090.00615.61
7.0.280.0110.00315.41
7.0.270.0000.01515.50
7.0.260.0080.00315.68
7.0.250.0080.00015.49
7.0.240.0080.00515.47
7.0.230.0080.00715.54
7.0.220.0000.01215.67
7.0.210.0030.00715.55
7.0.200.0050.00416.05
7.0.190.0100.00315.55
7.0.180.0080.00415.45
7.0.170.0080.00615.75
7.0.160.0030.00615.82
7.0.150.0070.00715.41
7.0.140.0040.04018.66
7.0.130.0040.00715.70
7.0.120.0000.01515.44
7.0.110.0030.00615.55
7.0.100.0030.01015.58
7.0.90.0090.00615.37
7.0.80.0030.00815.39
7.0.70.0060.00915.74
7.0.60.0110.02017.83
7.0.50.0060.03816.68
7.0.40.0070.04716.90
7.0.30.0220.03616.83
7.0.20.0160.04116.83
7.0.10.0030.03717.05
7.0.00.0050.04716.96
5.6.400.0030.01015.48
5.6.390.0110.00415.43
5.6.380.0060.00315.39
5.6.370.0060.01015.45
5.6.360.0060.00915.36
5.6.350.0000.01415.86
5.6.340.0060.00615.50
5.6.330.0000.01615.43
5.6.320.0040.01115.67
5.6.310.0130.00315.36
5.6.300.0090.00615.61
5.6.290.0030.00615.64
5.6.280.0000.04418.86
5.6.270.0000.01315.66
5.6.260.0030.01415.44
5.6.250.0000.00915.58
5.6.240.0030.01015.41
5.6.230.0080.00815.50
5.6.220.0030.01415.53
5.6.210.0140.03518.50
5.6.200.0020.03417.37
5.6.190.0050.03118.70
5.6.180.1550.02918.62
5.6.170.0280.02018.52
5.6.160.0110.04418.40
5.6.150.0110.04017.47
5.6.140.0050.04617.34
5.6.130.0030.02517.37
5.6.120.0070.04218.81
5.6.110.0070.04018.80
5.6.100.0100.04218.75
5.6.90.0030.02618.72
5.6.80.0110.03618.45
5.6.70.2120.02118.32
5.6.60.0150.00315.40
5.6.50.0060.00915.59
5.6.40.0000.01615.43
5.6.30.0100.00715.50
5.6.20.0090.00615.38
5.6.10.0000.01415.70
5.6.00.0090.00615.45
5.5.380.0070.00315.62
5.5.370.0040.00715.05
5.5.360.0180.00015.40
5.5.350.0200.04218.60
5.5.340.0030.02417.13
5.5.330.0110.04318.50
5.5.320.0200.04518.14
5.5.310.0200.03118.49
5.5.300.0020.05117.28
5.5.290.0030.05017.22
5.5.280.0070.02318.70
5.5.270.0080.04218.71
5.5.260.0070.04318.70
5.5.250.0070.04418.54
5.5.240.0120.04618.42
5.5.230.0090.00615.20
5.5.220.0090.00615.04
5.5.210.0070.00715.49
5.5.200.0030.01015.46
5.5.190.0070.01015.04
5.5.180.0030.01115.37
5.5.170.0030.01015.33
5.5.160.0060.00915.38
5.5.150.0040.01415.41
5.5.140.0070.01015.48
5.5.130.0070.00415.21
5.5.120.0100.00715.48
5.5.110.0030.01215.28
5.5.100.0090.00615.24
5.5.90.0110.00415.25
5.5.80.0030.00715.32
5.5.70.0040.01115.38
5.5.60.0070.00715.08
5.5.50.0000.01615.31
5.5.40.0080.00615.16
5.5.30.0090.00615.32
5.5.20.0030.01415.45
5.5.10.0070.00415.36
5.5.00.0040.00715.41
5.4.450.0470.03216.55
5.4.440.0490.02916.35
5.4.430.0450.03716.34
5.4.420.0420.04516.43
5.4.410.0360.03316.15
5.4.400.0400.02716.18
5.4.390.0570.04016.03
5.4.380.0160.02815.94
5.4.370.0250.02615.79
5.4.360.0190.02716.00
5.4.350.0180.03115.97
5.4.340.0150.03015.82
5.4.330.0040.01112.10
5.4.320.0070.02712.77
5.4.310.0080.02112.75
5.4.300.0070.02112.90
5.4.290.0040.02412.63
5.4.280.0050.02212.82
5.4.270.0060.02212.80
5.4.260.0050.02412.69
5.4.250.0020.02512.75
5.4.240.0040.02012.75
5.4.230.0030.02412.56
5.4.220.0050.02312.86
5.4.210.0040.02112.60
5.4.200.0050.02212.69
5.4.190.0060.02412.60
5.4.180.0050.02012.82
5.4.170.0060.02112.79
5.4.160.0040.02112.59
5.4.150.0040.02212.74
5.4.140.0070.01812.61
5.4.130.0040.02112.59
5.4.120.0090.02012.96
5.4.110.0050.02212.86
5.4.100.0040.02212.77
5.4.90.0090.02312.97
5.4.80.0060.02312.92
5.4.70.0060.01912.84
5.4.60.0070.02012.88
5.4.50.0070.02012.88
5.4.40.0040.01912.91
5.4.30.0070.02312.87
5.4.20.0050.02212.74
5.4.10.0050.01812.79
5.4.00.0070.02312.29
5.3.290.0040.02512.70
5.3.280.0110.02612.55
5.3.270.0070.02012.55
5.3.260.0080.02512.46
5.3.250.0070.02312.56
5.3.240.0050.02012.53
5.3.230.0040.02312.55
5.3.220.0070.02113.11
5.3.210.0060.02213.19
5.3.200.0050.02313.18
5.3.190.0050.02313.26
5.3.180.0040.02213.31
5.3.170.0030.02613.31
5.3.160.0050.02313.33
5.3.150.0050.02413.30
5.3.140.0040.02413.31
5.3.130.0060.02513.33
5.3.120.0080.02113.36
5.3.110.0100.02013.30
5.3.100.0060.02312.93
5.3.90.0040.02312.55
5.3.80.0020.02312.41
5.3.70.0050.02012.44
5.3.60.0070.02012.49
5.3.50.0020.02212.43
5.3.40.0070.01912.43
5.3.30.0080.01712.42
5.3.20.0080.01812.31
5.3.10.0050.02412.11
5.3.00.0050.02612.20
5.2.170.0080.02910.42
5.2.160.0070.03410.42
5.2.150.0060.03110.41
5.2.140.0070.02910.41
5.2.130.0060.03010.34
5.2.120.0030.03210.34
5.2.110.0060.03210.34
5.2.100.0060.02710.34
5.2.90.0050.02910.30
5.2.80.0030.03210.30
5.2.70.0060.04010.30
5.2.60.0050.03010.26
5.2.50.0080.02810.22
5.2.40.0030.03010.22
5.2.30.0060.02910.12
5.2.20.0070.02610.17
5.2.10.0060.02610.04
5.2.00.0060.0319.93
5.1.60.0090.0289.25
5.1.50.0040.0249.24
5.1.40.0060.0229.22
5.1.30.0060.0249.57
5.1.20.0050.0269.59
5.1.10.0010.0299.32
5.1.00.0030.0269.32
5.0.50.0070.0177.80
5.0.40.0020.0207.52
5.0.30.0040.0357.33
5.0.20.0020.0237.30
5.0.10.0030.0247.29
5.0.00.0040.0307.27
4.4.90.0030.0195.88
4.4.80.0000.0195.80
4.4.70.0040.0175.80
4.4.60.0030.0195.80
4.4.50.0020.0175.80
4.4.40.0030.0315.80
4.4.30.0030.0155.80
4.4.20.0030.0235.86
4.4.10.0020.0175.86
4.4.00.0000.0275.83
4.3.110.0050.0145.60
4.3.100.0040.0165.58
4.3.90.0020.0165.57
4.3.80.0030.0265.56
4.3.70.0010.0165.56
4.3.60.0010.0165.57
4.3.50.0010.0175.56
4.3.40.0020.0255.52
4.3.30.0020.0164.33
4.3.20.0020.0164.23
4.3.10.0030.0144.13
4.3.00.0170.0207.26

preferences:
54.33 ms | 401 KiB | 5 Q