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.70.0070.01616.75
8.3.60.0030.01016.62
8.3.50.0190.01022.05
8.3.40.0090.00619.09
8.3.30.0070.00718.91
8.3.20.0040.00420.16
8.3.10.0000.00722.02
8.3.00.0050.00317.80
8.2.180.0110.00716.38
8.2.170.0120.00322.96
8.2.160.0120.00920.34
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0040.00421.28
8.2.110.0000.00920.49
8.2.100.0060.00617.97
8.2.90.0040.00418.09
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0080.00417.93
8.2.50.0060.00318.07
8.2.40.0080.00418.28
8.2.30.0050.00217.96
8.2.20.0040.00417.82
8.2.10.0000.00818.20
8.2.00.0030.00617.88
8.1.280.0120.00325.92
8.1.270.0040.00424.09
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0050.00519.36
8.1.230.0070.00420.93
8.1.220.0030.00617.78
8.1.210.0030.00619.04
8.1.200.0030.00617.61
8.1.190.0000.00817.38
8.1.180.0030.00518.10
8.1.170.0000.00818.84
8.1.160.0020.00521.94
8.1.150.0000.00718.90
8.1.140.0050.00617.50
8.1.130.0050.00217.75
8.1.120.0000.00717.63
8.1.110.0000.00817.50
8.1.100.0000.00717.55
8.1.90.0040.00417.56
8.1.80.0000.00717.64
8.1.70.0030.00317.55
8.1.60.0080.00317.73
8.1.50.0000.00817.58
8.1.40.0050.00217.56
8.1.30.0070.00317.79
8.1.20.0000.00717.80
8.1.10.0040.00417.73
8.1.00.0030.00517.66
8.0.300.0040.00420.09
8.0.290.0070.00016.88
8.0.280.0030.00318.46
8.0.270.0030.00317.10
8.0.260.0060.00017.20
8.0.250.0030.00517.11
8.0.240.0070.00017.19
8.0.230.0090.00017.05
8.0.220.0070.00016.95
8.0.210.0040.00417.00
8.0.200.0060.00017.11
8.0.190.0050.00417.19
8.0.180.0040.00417.11
8.0.170.0030.00617.02
8.0.160.0000.00817.16
8.0.150.0040.00416.97
8.0.140.0080.00017.03
8.0.130.0060.00013.50
8.0.120.0050.00516.94
8.0.110.0040.00416.96
8.0.100.0040.00416.92
8.0.90.0000.00716.96
8.0.80.0140.00917.09
8.0.70.0030.00317.04
8.0.60.0040.00416.90
8.0.50.0040.00416.94
8.0.30.0100.00817.31
8.0.20.0080.01217.40
8.0.10.0000.00817.24
8.0.00.0050.01216.78
7.4.330.0000.00515.07
7.4.320.0030.00316.62
7.4.300.0060.00016.69
7.4.290.0000.00716.77
7.4.280.0000.00916.79
7.4.270.0030.00316.63
7.4.260.0030.00316.70
7.4.250.0040.00416.52
7.4.240.0040.00416.66
7.4.230.0080.00016.71
7.4.220.0150.01116.57
7.4.210.0120.00316.88
7.4.200.0030.00316.79
7.4.160.0090.00616.93
7.4.150.0220.00317.40
7.4.140.0110.00817.86
7.4.130.0080.01116.68
7.4.120.0090.00816.74
7.4.110.0170.00016.73
7.4.100.0060.01216.65
7.4.90.0140.00316.74
7.4.80.0070.01119.39
7.4.70.0150.00916.74
7.4.60.0160.00616.58
7.4.50.0000.00416.56
7.4.40.0090.00816.68
7.4.30.0030.01316.61
7.4.00.0100.00715.33
7.3.330.0000.00513.14
7.3.320.0000.00613.12
7.3.310.0000.00716.29
7.3.300.0050.00216.44
7.3.290.0120.00416.45
7.3.280.0090.00916.43
7.3.270.0120.00417.40
7.3.260.0070.01116.79
7.3.250.0080.01016.40
7.3.240.0030.01616.34
7.3.230.0070.01016.68
7.3.210.0030.01416.64
7.3.200.0070.01419.39
7.3.190.0120.00916.78
7.3.180.0070.01416.82
7.3.170.0100.00716.46
7.3.160.0150.00316.57
7.3.120.0000.00914.67
7.3.110.0110.00614.88
7.3.100.0070.00714.84
7.3.90.0100.00715.09
7.3.80.0030.00614.92
7.3.70.0070.00714.93
7.3.60.0110.00315.01
7.3.50.0110.00414.99
7.3.40.0040.01214.92
7.3.30.0000.01315.02
7.3.20.0140.00016.82
7.3.10.0070.00716.78
7.3.00.0000.01516.54
7.2.330.0070.01016.71
7.2.320.0110.01216.68
7.2.310.0090.00916.78
7.2.300.0070.01016.66
7.2.290.0060.01016.68
7.2.240.0030.01015.10
7.2.230.0060.00615.04
7.2.220.0030.01014.79
7.2.210.0030.01315.23
7.2.200.0090.00615.03
7.2.190.0030.01315.23
7.2.180.0040.01215.02
7.2.170.0060.01215.08
7.2.160.0070.01015.18
7.2.150.0070.00716.67
7.2.140.0060.00616.93
7.2.130.0100.00017.02
7.2.120.0030.01016.63
7.2.110.0020.01216.88
7.2.100.0050.00816.73
7.2.90.0090.00416.73
7.2.80.0030.00816.94
7.2.70.0060.00516.91
7.2.60.0070.00716.88
7.2.50.0050.01016.97
7.2.40.0140.00216.97
7.2.30.0030.00916.92
7.2.20.0050.00817.03
7.2.10.0050.00616.76
7.2.00.0030.01217.81
7.1.330.0150.00015.99
7.1.320.0060.00616.02
7.1.310.0060.00915.64
7.1.300.0140.00015.68
7.1.290.0060.00315.76
7.1.280.0090.00915.96
7.1.270.0090.00615.80
7.1.260.0070.00415.89
7.1.250.0030.01215.87
7.1.230.0060.00815.95
7.1.220.0040.01115.81
7.1.210.0060.00616.06
7.1.200.0050.00716.02
7.1.190.0100.00315.81
7.1.180.0080.00016.02
7.1.170.0030.00916.00
7.1.160.0120.00015.91
7.1.150.0000.00916.04
7.1.140.0000.01616.05
7.1.130.0030.01015.68
7.1.120.0030.01016.01
7.1.110.0100.00316.07
7.1.100.0020.01216.88
7.1.90.0110.00015.96
7.1.80.0030.01015.97
7.1.70.0040.00616.44
7.1.60.0070.01317.54
7.1.50.0060.01416.48
7.1.40.0100.00716.11
7.1.30.0090.00616.09
7.1.20.0070.01115.96
7.1.10.0060.00616.05
7.1.00.0080.03819.06
7.0.310.0040.00815.63
7.0.300.0040.00815.46
7.0.290.0060.00615.75
7.0.280.0030.01015.64
7.0.270.0030.01015.38
7.0.260.0060.00615.56
7.0.250.0100.00315.40
7.0.240.0000.01115.43
7.0.230.0110.00315.27
7.0.220.0000.01115.35
7.0.210.0060.00615.44
7.0.200.0070.00416.17
7.0.190.0030.01015.55
7.0.180.0100.00015.57
7.0.170.0030.01015.54
7.0.160.0030.01015.29
7.0.150.0090.00315.73
7.0.140.0050.04018.92
7.0.130.0030.01015.42
7.0.120.0070.00315.61
7.0.110.0050.00315.42
7.0.100.0070.00715.35
7.0.90.0000.01015.57
7.0.80.0070.00715.35
7.0.70.0070.00715.60
7.0.60.0090.04317.71
7.0.50.0030.04916.66
7.0.40.0070.02717.04
7.0.30.0140.02016.83
7.0.20.0130.03016.85
7.0.10.0020.03716.96
7.0.00.0070.04316.72
5.6.380.0070.00715.41
5.6.370.0040.01115.18
5.6.360.0030.01015.54
5.6.350.0080.00615.66
5.6.340.0030.01015.84
5.6.330.0060.00315.71
5.6.320.0070.00715.32
5.6.310.0000.01415.77
5.6.300.0060.00715.67
5.6.290.0000.00815.05
5.6.280.0080.03818.89
5.6.270.0000.01515.29
5.6.260.0000.01715.26
5.6.250.0100.00315.26
5.6.240.0070.00715.77
5.6.230.0040.01115.23
5.6.220.0030.01015.21
5.6.210.0040.04618.61
5.6.200.0100.03817.36
5.6.190.0080.04518.40
5.6.180.0180.02618.59
5.6.170.0180.02218.49
5.6.160.0110.04218.54
5.6.150.0030.03817.34
5.6.140.0070.03417.33
5.6.130.0100.03817.41
5.6.120.0050.02518.88
5.6.110.0070.04418.88
5.6.100.0080.04118.80
5.6.90.0120.03818.75
5.6.80.0120.03718.39
5.6.70.0000.01215.21
5.6.60.0070.00715.62
5.6.50.0030.00915.72
5.6.40.0090.00415.29
5.6.30.0070.00715.49
5.6.20.0070.00315.47
5.6.10.0070.00415.60
5.6.00.0080.00415.49
5.5.380.0080.00512.79
5.5.370.0090.00012.79
5.5.360.0030.00712.79
5.5.350.2170.02317.14
5.5.340.0040.04015.91
5.5.330.0110.02016.99
5.5.320.0170.03717.02
5.5.310.0150.04317.10
5.5.300.0030.04315.89
5.5.290.0070.04315.95
5.5.280.0030.04517.38
5.5.270.0100.03317.38
5.5.260.0070.04517.33
5.5.250.0100.01817.33
5.5.240.0070.04116.98
5.5.230.0080.00012.79
5.5.220.0070.00312.79
5.5.210.0090.00612.79
5.5.200.0040.00812.79
5.5.190.0040.00412.79
5.5.180.0060.00012.79
5.5.170.0000.01315.41
5.5.160.0070.00012.79
5.5.150.0000.00712.79
5.5.140.0030.00912.79
5.5.130.0030.01012.79
5.5.120.0030.00612.79
5.5.110.0030.00612.79
5.5.100.0040.00812.79
5.5.90.0060.00612.79
5.5.80.0110.00012.79
5.5.70.0070.00312.79
5.5.60.0090.00312.79
5.5.50.0060.00612.79
5.5.40.0060.00612.79
5.5.30.0110.00012.79
5.5.20.0080.00012.79
5.5.10.0030.00612.79
5.5.00.0090.00312.79
5.4.450.0360.03216.47
5.4.440.0440.02716.59
5.4.430.0350.03316.64
5.4.420.0120.02516.68
5.4.410.0310.03016.63
5.4.400.0220.03516.30
5.4.390.0170.03016.25
5.4.380.0100.03016.18
5.4.370.0110.01816.26
5.4.360.0080.02016.24
5.4.350.0100.02312.91
5.4.340.0070.01812.90
5.4.330.0060.00012.79
5.4.320.0050.02013.14
5.4.310.0050.02213.14
5.4.300.0070.01813.14
5.4.290.0060.02613.14
5.4.280.0110.02013.07
5.4.270.0070.02213.07
5.4.260.0030.02313.07
5.4.250.0070.02013.07
5.4.240.0090.02513.07
5.4.230.0070.02213.07
5.4.220.0070.02113.07
5.4.210.0080.01913.07
5.4.200.0070.02113.07
5.4.190.0090.01913.07
5.4.180.0060.02313.07
5.4.170.0020.02613.07
5.4.160.0050.02213.07
5.4.150.0040.02513.07
5.4.140.0070.02012.91
5.4.130.0020.02412.91
5.4.120.0040.02313.22
5.4.110.0060.02013.22
5.4.100.0040.02113.22
5.4.90.0040.02513.22
5.4.80.0050.02113.25
5.4.70.0040.02213.25
5.4.60.0050.02213.25
5.4.50.0090.01913.25
5.4.40.0060.02313.25
5.4.30.0050.02013.25
5.4.20.0060.02013.24
5.4.10.0080.01913.24
5.4.00.0070.01712.74
5.3.290.0060.02213.28
5.3.280.0080.02013.22
5.3.270.0040.02513.23
5.3.260.0110.02113.23
5.3.250.0080.02313.23
5.3.240.0070.02113.23
5.3.230.0090.02613.23
5.3.220.0090.02013.55
5.3.210.0080.02213.55
5.3.200.0060.02513.55
5.3.190.0120.01913.55
5.3.180.0090.02013.58
5.3.170.0080.01913.58
5.3.160.0060.02313.58
5.3.150.0090.02113.58
5.3.140.0080.02413.58
5.3.130.0100.02513.58
5.3.120.0070.02413.58
5.3.110.0030.02613.57
5.3.100.0090.02313.32
5.3.90.0090.02013.06
5.3.80.0100.02313.06
5.3.70.0070.02313.06
5.3.60.0080.02213.05
5.3.50.0030.02313.04
5.3.40.0090.01913.04
5.3.30.0040.02212.99
5.3.20.0090.02412.89
5.3.10.0070.02012.84
5.3.00.0050.02112.83
5.2.170.0050.02211.60
5.2.160.0050.01611.60
5.2.150.0060.02211.60
5.2.140.0090.01911.60
5.2.130.0040.02011.56
5.2.120.0020.02111.56
5.2.110.0010.02111.56
5.2.100.0080.01511.56
5.2.90.0060.01911.55
5.2.80.0050.02111.54
5.2.70.0060.02011.54
5.2.60.0080.03111.52
5.2.50.0050.01911.51
5.2.40.0050.01711.50
5.2.30.0040.02011.46
5.2.20.0050.01811.48
5.2.10.0070.01811.41
5.2.00.0080.01411.36
5.1.60.0050.01511.02
5.1.50.0040.01711.02
5.1.40.0070.01511.01
5.1.30.0070.01411.18
5.1.20.0060.01611.19
5.1.10.0040.01811.05
5.1.00.0050.01611.05
5.0.50.0040.01210.29
5.0.40.0040.01310.15
5.0.30.0040.01810.06
5.0.20.0050.01110.04
5.0.10.0040.01210.04
5.0.00.0050.01910.03
4.4.90.0030.0119.34
4.4.80.0040.0109.30
4.4.70.0050.0119.29
4.4.60.0050.0119.30
4.4.50.0070.0089.30
4.4.40.0030.0179.29
4.4.30.0040.0099.29
4.4.20.0050.0089.32
4.4.10.0020.0109.32
4.4.00.0050.0139.31
4.3.110.0040.0109.19
4.3.100.0020.0139.19
4.3.90.0070.0069.18
4.3.80.0020.0169.18
4.3.70.0040.0099.17
4.3.60.0030.0099.18
4.3.50.0030.0109.18
4.3.40.0040.0149.15
4.3.30.0050.0108.56
4.3.20.0010.0108.51
4.3.10.0020.0118.46
4.3.00.0070.0149.96

preferences:
48.78 ms | 401 KiB | 5 Q