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.0100.00316.75
8.3.50.0190.01022.05
8.3.40.0120.00319.09
8.3.30.0040.01119.14
8.3.20.0050.00320.29
8.3.10.0040.00421.76
8.3.00.0080.00017.90
8.2.180.0100.01016.32
8.2.170.0110.00422.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0110.00426.16
8.2.120.0040.00421.22
8.2.110.0060.00620.38
8.2.100.0060.00618.16
8.2.90.0040.00419.30
8.2.80.0060.00317.97
8.2.70.0090.00017.75
8.2.60.0050.00317.80
8.2.50.0050.00318.07
8.2.40.0060.00318.09
8.2.30.0040.00418.20
8.2.20.0040.00417.89
8.2.10.0040.00418.18
8.2.00.0080.00017.82
8.1.280.0040.01825.92
8.1.270.0000.00923.95
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0000.01123.86
8.1.230.0110.00019.23
8.1.220.0040.00417.80
8.1.210.0000.00818.77
8.1.200.0060.00917.25
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0080.00018.88
8.1.160.0040.00422.07
8.1.150.0000.00718.89
8.1.140.0000.01217.59
8.1.130.0000.00717.91
8.1.120.0070.00017.49
8.1.110.0000.00817.56
8.1.100.0040.00417.52
8.1.90.0000.00717.61
8.1.80.0040.00417.64
8.1.70.0000.00717.59
8.1.60.0070.00417.61
8.1.50.0040.00417.63
8.1.40.0030.00517.66
8.1.30.0050.00317.76
8.1.20.0080.00017.69
8.1.10.0080.00017.68
8.1.00.0040.00417.60
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0030.00318.50
8.0.270.0070.00017.22
8.0.260.0030.00317.29
8.0.250.0000.00717.25
8.0.240.0040.00417.20
8.0.230.0100.00017.05
8.0.220.0000.00817.02
8.0.210.0000.00717.04
8.0.200.0000.00717.13
8.0.190.0030.00917.13
8.0.180.0040.00417.02
8.0.170.0060.00317.09
8.0.160.0040.00416.96
8.0.150.0080.00016.99
8.0.140.0070.00017.09
8.0.130.0030.00313.46
8.0.120.0040.00416.94
8.0.110.0040.00417.00
8.0.100.0040.00417.13
8.0.90.0000.00716.94
8.0.80.0090.01216.98
8.0.70.0040.00417.11
8.0.60.0000.00816.98
8.0.50.0040.00417.10
8.0.30.0050.01417.19
8.0.20.0170.00617.45
8.0.10.0040.00417.20
8.0.00.0110.00717.02
7.4.330.0000.00515.10
7.4.320.0070.00016.76
7.4.300.0030.00316.72
7.4.290.0070.00316.80
7.4.280.0000.00716.73
7.4.270.0020.00516.80
7.4.260.0080.00016.83
7.4.250.0000.00716.68
7.4.240.0030.00316.81
7.4.230.0000.00716.78
7.4.220.0110.00716.70
7.4.210.0070.01316.74
7.4.200.0040.00416.76
7.4.160.0060.00916.76
7.4.150.0100.01017.40
7.4.140.0100.00817.86
7.4.130.0090.01016.71
7.4.120.0130.00716.74
7.4.110.0130.00616.75
7.4.100.0120.00916.54
7.4.90.0140.00316.93
7.4.80.0070.01019.39
7.4.70.0030.01316.63
7.4.60.0100.00716.81
7.4.50.0060.00316.76
7.4.40.0110.00516.72
7.4.30.0090.00616.80
7.4.10.0100.01016.55
7.4.00.0030.01315.81
7.3.330.0030.00313.18
7.3.320.0030.00313.35
7.3.310.0030.00316.24
7.3.300.0030.00316.25
7.3.290.0030.01316.46
7.3.280.0090.00816.38
7.3.270.0140.00317.40
7.3.260.0130.01016.59
7.3.250.0130.00316.57
7.3.240.0100.01416.75
7.3.230.0070.01016.73
7.3.210.0080.01516.69
7.3.200.0150.00419.39
7.3.190.0130.01016.44
7.3.180.0100.00716.61
7.3.170.0060.00916.38
7.3.160.0100.01016.66
7.3.130.0130.00716.43
7.3.120.0070.00915.89
7.3.110.0110.00416.47
7.3.100.0090.00616.43
7.3.90.0080.00816.43
7.3.80.0130.00616.57
7.3.70.0060.00316.44
7.3.60.0000.01816.45
7.3.50.0090.00316.52
7.3.40.0130.00316.40
7.3.30.0100.00316.43
7.3.20.0030.01318.36
7.3.10.0080.00517.54
7.3.00.0080.00617.34
7.2.330.0140.00316.61
7.2.320.0090.01316.70
7.2.310.0070.01016.82
7.2.300.0100.00716.77
7.2.290.0070.01016.78
7.2.260.0070.01316.71
7.2.250.0110.01116.71
7.2.240.0070.01016.59
7.2.230.0100.00716.64
7.2.220.0070.00716.58
7.2.210.0080.01116.69
7.2.200.0160.00316.55
7.2.190.0040.01116.50
7.2.180.0060.00916.41
7.2.170.0000.01016.70
7.2.160.0030.00716.58
7.2.150.0030.01018.56
7.2.140.0030.01418.59
7.2.130.0030.01117.57
7.2.120.0060.00717.58
7.2.110.0050.01017.52
7.2.100.0060.00917.72
7.2.90.0050.01217.54
7.2.80.0100.00717.59
7.2.70.0030.01217.59
7.2.60.0080.00817.38
7.2.50.0070.00817.65
7.2.40.0110.00617.76
7.2.30.0060.00717.73
7.2.20.0050.00817.78
7.2.10.0090.00517.67
7.2.00.0090.00517.72
7.1.330.0070.00717.50
7.1.320.0080.00717.43
7.1.310.0070.01017.67
7.1.300.0040.00917.44
7.1.290.0130.00317.51
7.1.280.0030.01217.39
7.1.270.0080.00817.43
7.1.260.0040.01517.51
7.1.250.0060.00916.52
7.1.240.0040.01117.50
7.1.230.0030.01617.43
7.1.220.0040.01517.50
7.1.210.0060.00617.43
7.1.200.0030.01016.69
7.1.190.0070.01017.41
7.1.180.0040.01417.50
7.1.170.0030.00717.28
7.1.160.0060.00917.28
7.1.150.0040.01117.29
7.1.140.0030.01017.41
7.1.130.0030.00917.46
7.1.120.0090.00617.29
7.1.110.0040.00817.39
7.1.100.0040.00817.50
7.1.90.0090.00917.43
7.1.80.0090.00617.36
7.1.70.0030.00717.19
7.1.60.0060.01118.21
7.1.50.0060.01117.28
7.1.40.0080.00817.59
7.1.30.0030.01217.43
7.1.20.0000.01017.56
7.1.10.0030.00717.54
7.1.00.0030.04219.98
7.0.330.0070.01017.21
7.0.320.0040.01517.15
7.0.310.0070.00717.28
7.0.300.0060.00917.20
7.0.290.0000.01417.07
7.0.280.0070.00717.10
7.0.270.0070.00717.24
7.0.260.0050.00817.13
7.0.250.0030.01017.27
7.0.240.0040.01116.92
7.0.230.0000.01117.28
7.0.220.0060.01017.35
7.0.210.0060.00617.11
7.0.200.0030.00716.93
7.0.190.0040.01217.21
7.0.180.0070.00317.17
7.0.170.0060.00617.22
7.0.160.0080.00417.25
7.0.150.0110.00017.20
7.0.140.0090.03519.69
7.0.130.0000.01417.25
7.0.120.0110.00417.22
7.0.110.0070.01117.22
7.0.100.0040.00817.09
7.0.90.0000.01217.13
7.0.80.0040.00817.04
7.0.70.0040.00817.25
7.0.60.0070.04118.52
7.0.50.0050.02517.55
7.0.40.0020.05117.57
7.0.30.0100.03917.60
7.0.20.0180.03317.73
7.0.10.0140.04417.67
7.0.00.0070.03317.54
5.6.400.0070.01016.86
5.6.390.0120.00317.16
5.6.380.0100.00616.98
5.6.370.0120.00416.87
5.6.360.0090.00916.79
5.6.350.0060.00617.04
5.6.340.0130.00317.10
5.6.330.0030.00917.09
5.6.320.0040.01517.01
5.6.310.0060.00916.98
5.6.300.0080.00316.89
5.6.290.0070.01016.92
5.6.280.0030.04519.57
5.6.270.0060.01317.13
5.6.260.0100.01016.98
5.6.250.0070.00717.01
5.6.240.0130.00016.82
5.6.230.0140.00317.02
5.6.220.0060.00616.81
5.6.210.0100.03819.31
5.6.200.0070.04218.22
5.6.190.0050.03719.37
5.6.180.0130.03519.45
5.6.170.0150.03519.32
5.6.160.0110.03819.32
5.6.150.0130.02518.14
5.6.140.0120.04418.20
5.6.130.0080.04218.15
5.6.120.0050.02319.53
5.6.110.0070.05019.51
5.6.100.0080.04019.64
5.6.90.0110.03519.50
5.6.80.0070.04419.23
5.6.70.0030.00816.88
5.6.60.0090.00616.97
5.6.50.0090.00316.96
5.6.40.0110.01017.05
5.6.30.0060.01316.89
5.6.20.0100.01016.98
5.6.10.0120.00017.10
5.6.00.0030.01216.81
5.5.380.0030.01017.05
5.5.370.0000.01717.04
5.5.360.0060.00916.66
5.5.350.2150.02519.23
5.5.340.0000.03918.01
5.5.330.0080.02819.01
5.5.320.0210.02319.21
5.5.310.0240.03619.12
5.5.300.0090.02417.98
5.5.290.0080.04618.06
5.5.280.0170.03019.46
5.5.270.0020.04519.44
5.5.260.0100.04219.45
5.5.250.0050.02519.30
5.5.240.0070.04119.01
5.5.230.0060.00916.79
5.5.220.0060.00616.75
5.5.210.0120.00316.80
5.5.200.0000.01716.95
5.5.190.0090.00916.89
5.5.180.0060.00617.05
5.5.170.0060.01016.86
5.5.160.0090.00616.89
5.5.150.0080.00316.95
5.5.140.0120.00616.83
5.5.130.0100.00717.07
5.5.120.0040.01116.78
5.5.110.0100.00716.69
5.5.100.0040.00816.75
5.5.90.0070.01017.03
5.5.80.0030.01216.80
5.5.70.0090.00916.77
5.5.60.0000.01316.86
5.5.50.0060.00616.85
5.5.40.0030.01216.87
5.5.30.0030.00916.78
5.5.20.0070.00716.87
5.5.10.0040.00716.78
5.5.00.0060.00816.70
5.4.450.0400.02817.14
5.4.440.0450.03517.23
5.4.430.0330.03517.21
5.4.420.0320.03017.15
5.4.410.0060.03316.87
5.4.400.0130.03616.72
5.4.390.0150.03716.63
5.4.380.0080.03516.72
5.4.370.0050.03416.78
5.4.360.0120.02416.58
5.4.350.0060.02413.38
5.4.340.0110.02413.34
5.4.330.0060.00613.64
5.4.320.0040.02213.68
5.4.310.0040.02513.55
5.4.300.0070.02713.51
5.4.290.0080.02613.61
5.4.280.0060.01913.50
5.4.270.0020.02513.54
5.4.260.0070.01913.55
5.4.250.0040.02613.58
5.4.240.0040.02313.47
5.4.230.0060.02413.52
5.4.220.0070.02013.56
5.4.210.0070.02313.48
5.4.200.0090.01913.45
5.4.190.0070.02713.52
5.4.180.0090.02313.54
5.4.170.0070.02213.43
5.4.160.0040.02413.48
5.4.150.0090.01613.47
5.4.140.0020.02613.32
5.4.130.0050.02013.42
5.4.120.0050.02913.61
5.4.110.0060.02513.63
5.4.100.0060.02613.70
5.4.90.0070.02113.61
5.4.80.0070.02113.67
5.4.70.0060.02413.66
5.4.60.0050.02413.66
5.4.50.0070.02413.63
5.4.40.0030.02313.58
5.4.30.0030.02613.64
5.4.20.0060.02113.56
5.4.10.0050.02213.58
5.4.00.0060.02013.13
5.3.290.0070.02713.93
5.3.280.0040.02713.73
5.3.270.0080.02713.83
5.3.260.0070.02513.80
5.3.250.0070.02413.87
5.3.240.0030.02713.80
5.3.230.0110.01813.79
5.3.220.0050.02314.48
5.3.210.0060.02514.48
5.3.200.0040.02314.50
5.3.190.0100.01914.48
5.3.180.0070.02014.68
5.3.170.0050.02214.51
5.3.160.0070.02614.49
5.3.150.0060.02314.68
5.3.140.0040.02714.54
5.3.130.0050.02314.53
5.3.120.0050.02514.67
5.3.110.0080.03014.57
5.3.100.0110.02314.25
5.3.90.0040.03113.71
5.3.80.0040.02813.61
5.3.70.0040.02913.68
5.3.60.0070.02813.75
5.3.50.0080.02713.61
5.3.40.0070.02213.68
5.3.30.0030.02413.57
5.3.20.0070.02013.52
5.3.10.0050.02213.38
5.3.00.0060.02513.41
5.2.170.0060.03110.42
5.2.160.0070.03110.41
5.2.150.0010.03510.41
5.2.140.0070.02810.41
5.2.130.0000.03410.34
5.2.120.0050.02810.34
5.2.110.0110.03410.34
5.2.100.0070.03810.34
5.2.90.0050.03110.30
5.2.80.0040.03110.30
5.2.70.0080.02810.30
5.2.60.0040.03110.26
5.2.50.0030.03110.22
5.2.40.0050.02810.22
5.2.30.0040.03110.13
5.2.20.0040.02910.17
5.2.10.0070.02510.03
5.2.00.0040.0309.92
5.1.60.0060.0229.23
5.1.50.0050.0249.23
5.1.40.0020.0279.21
5.1.30.0050.0259.56
5.1.20.0050.0259.58
5.1.10.0030.0319.30
5.1.00.0000.0319.30
5.0.50.0020.0227.79
5.0.40.0060.0197.51
5.0.30.0070.0397.32
5.0.20.0050.0257.29
5.0.10.0070.0197.27
5.0.00.0040.0307.27
4.4.90.0040.0155.88
4.4.80.0010.0175.80
4.4.70.0030.0155.79
4.4.60.0040.0145.80
4.4.50.0020.0165.79
4.4.40.0050.0235.79
4.4.30.0070.0145.78
4.4.20.0050.0215.84
4.4.10.0040.0215.85
4.4.00.0050.0235.82
4.3.110.0040.0145.59
4.3.100.0010.0175.57
4.3.90.0040.0135.55
4.3.80.0020.0275.55
4.3.70.0040.0135.55
4.3.60.0000.0175.55
4.3.50.0030.0155.54
4.3.40.0030.0235.50
4.3.30.0020.0174.32
4.3.20.0000.0184.22
4.3.10.0020.0164.12
4.3.00.0030.0207.16

preferences:
43.7 ms | 401 KiB | 5 Q