3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT sad<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>sdasd this is also here <table>this is here</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.75
8.3.50.0060.01222.05
8.3.40.0110.00718.79
8.3.30.0030.01018.99
8.3.20.0040.00420.34
8.3.10.0080.00021.72
8.3.00.0050.00317.66
8.2.180.0070.01116.32
8.2.170.0110.00322.96
8.2.160.0130.00320.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0140.00026.16
8.2.120.0000.00720.96
8.2.110.0130.00722.05
8.2.100.0040.00819.64
8.2.90.0050.00319.13
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0040.00418.03
8.2.50.0030.00618.07
8.2.40.0090.00318.22
8.2.30.0000.00818.04
8.2.20.0040.00417.77
8.2.10.0040.00418.05
8.2.00.0000.00717.70
8.1.280.0090.00625.92
8.1.270.0060.00324.01
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00623.87
8.1.230.0060.00619.10
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.36
8.1.190.0080.00017.11
8.1.180.0040.00418.10
8.1.170.0040.00418.64
8.1.160.0040.00421.88
8.1.150.0000.00818.82
8.1.140.0030.00717.32
8.1.130.0000.00717.84
8.1.120.0000.00717.32
8.1.110.0050.00317.43
8.1.100.0070.00017.32
8.1.90.0030.00317.36
8.1.80.0000.00717.31
8.1.70.0030.00317.33
8.1.60.0000.01117.43
8.1.50.0000.00817.40
8.1.40.0000.00717.52
8.1.30.0030.00617.46
8.1.20.0000.00817.55
8.1.10.0070.00017.39
8.1.00.0000.00717.36
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0030.00318.47
8.0.270.0030.00517.28
8.0.260.0040.00417.39
8.0.250.0000.00716.91
8.0.240.0080.00016.91
8.0.230.0040.00416.95
8.0.220.0000.00716.86
8.0.210.0050.00216.86
8.0.200.0060.00017.03
8.0.190.0090.00416.96
8.0.180.0000.00716.86
8.0.170.0030.00616.83
8.0.160.0040.00416.79
8.0.150.0080.00016.79
8.0.140.0070.00016.89
8.0.130.0030.00313.29
8.0.120.0000.00816.78
8.0.110.0080.00016.84
8.0.100.0040.00416.81
8.0.90.0040.00416.84
8.0.80.0070.01416.86
8.0.70.0040.00416.90
8.0.60.0070.00016.95
8.0.50.0040.00416.74
8.0.30.0080.01116.96
8.0.20.0110.01117.40
8.0.10.0040.00416.98
8.0.00.0130.00816.74
7.4.330.0000.00515.04
7.4.320.0030.00316.52
7.4.300.0060.00016.61
7.4.290.0080.00316.60
7.4.280.0040.00716.65
7.4.270.0000.00716.51
7.4.260.0000.00716.55
7.4.250.0000.00716.50
7.4.240.0030.00416.54
7.4.230.0040.00416.64
7.4.220.0120.01216.58
7.4.210.0110.00416.64
7.4.200.0000.00716.43
7.4.160.0110.00316.52
7.4.150.0090.01017.40
7.4.140.0120.00717.86
7.4.130.0120.00616.54
7.4.120.0110.00716.48
7.4.110.0110.01116.55
7.4.100.0190.00316.38
7.4.90.0150.00316.52
7.4.80.0000.02319.39
7.4.70.0100.01116.55
7.4.60.0100.00716.68
7.4.50.0030.00616.61
7.4.40.0100.00616.51
7.4.30.0140.00316.53
7.4.00.0100.00715.19
7.3.330.0020.00313.25
7.3.320.0000.00612.99
7.3.310.0030.00316.11
7.3.300.0000.00716.18
7.3.290.0100.01016.24
7.3.280.0120.00616.29
7.3.270.0120.00617.40
7.3.260.0090.00916.23
7.3.250.0110.00816.28
7.3.240.0070.01016.26
7.3.230.0100.01016.43
7.3.210.0100.00716.23
7.3.200.0120.00719.39
7.3.190.0180.00316.43
7.3.180.0070.01616.30
7.3.170.0070.01416.61
7.3.160.0100.01016.26
7.3.120.0120.00314.40
7.2.330.0070.01016.29
7.2.320.0060.01216.61
7.2.310.0090.00916.49
7.2.300.0060.01116.53
7.2.290.0060.01016.38
7.1.70.0050.00516.71
7.1.60.0130.00919.11
7.1.50.0030.01916.77
7.1.00.0000.07722.44
7.0.200.0000.00816.86
7.0.140.0100.06722.10
7.0.60.0130.08019.90
7.0.50.0000.04717.81
7.0.40.0030.05319.98
7.0.30.0530.06720.17
7.0.20.0300.08020.33
7.0.10.0170.07720.20
7.0.00.0030.05020.11
5.6.280.0030.07320.86
5.6.210.0000.06720.50
5.6.200.0100.06718.19
5.6.190.0100.03720.48
5.6.180.3000.04320.41
5.6.170.0330.05320.41
5.6.160.0100.05020.50
5.6.150.0070.05718.13
5.6.140.0130.06018.15
5.6.130.0070.08718.21
5.6.120.0070.08021.02
5.6.110.0100.08020.98
5.6.100.0100.08320.97
5.6.90.0070.08320.92
5.6.80.0100.05320.39
5.6.70.4200.04020.33
5.5.350.0030.09020.44
5.5.340.0100.06717.98
5.5.330.0000.04320.18
5.5.320.3370.04020.22
5.5.310.0200.05720.50
5.5.300.0130.08017.88
5.5.290.0070.04317.95
5.5.280.0030.05720.65
5.5.270.0200.07020.89
5.5.260.0170.05720.73
5.5.250.0100.07320.59
5.5.240.0400.06320.07
5.4.450.1830.03719.24
5.4.440.1770.04019.13
5.4.430.2000.04319.08
5.4.420.1900.04019.13
5.4.410.1770.04319.32
5.4.400.1970.02719.10
5.4.390.1770.04019.07
5.4.380.2070.03719.13
5.4.370.1930.04718.80
5.4.360.0070.05319.08
5.4.350.0100.07019.13
5.4.340.1070.06019.13
5.4.320.1970.04019.13
5.4.310.1770.04019.21
5.4.300.1830.03319.19
5.4.290.1800.04018.91
5.4.280.2230.03719.08
5.4.270.2130.04319.08
5.4.260.1930.04019.13
5.4.250.1970.05019.07
5.4.240.0930.05019.14
5.4.230.0000.04719.12
5.4.220.0030.06319.12
5.4.210.0100.03318.87
5.4.200.0230.03019.15
5.4.190.0000.04018.76
5.4.180.0600.06719.07
5.4.170.1670.04019.18
5.4.160.1770.04019.04
5.4.150.1870.04318.90
5.4.140.0130.02716.31
5.4.130.0100.06716.26
5.4.120.0000.03716.44
5.4.110.1470.04016.40
5.4.100.1770.03716.39
5.4.90.1900.03316.43
5.4.80.1970.03716.16
5.4.70.2130.04016.37
5.4.60.2130.04316.40
5.4.50.1270.03716.27
5.4.40.0070.03316.37
5.4.30.0030.07016.20
5.4.20.1730.04716.36
5.4.10.1770.03316.15
5.4.00.1930.03315.88
5.3.290.2130.04314.75
5.3.280.1970.04014.50
5.3.270.2070.03714.46
5.3.260.1870.03714.46
5.3.250.2230.04314.65
5.3.240.2030.04014.54
5.3.230.2330.04714.43
5.3.220.0330.04714.58
5.3.210.0030.04014.53
5.3.200.0030.06014.42
5.3.190.0770.06014.42
5.3.180.1670.03314.45
5.3.170.1900.04014.51
5.3.160.1970.03314.51
5.3.150.2070.03714.39
5.3.140.1830.04014.41
5.3.130.1900.03714.56
5.3.120.1970.03714.45
5.3.110.1930.03714.50
5.3.100.1870.03313.91
5.3.90.1870.03314.07
5.3.80.0200.03313.87
5.3.70.0200.03714.00
5.3.60.0170.03714.00
5.3.50.0200.06013.72
5.3.40.0200.03313.88
5.3.30.0130.06313.77
5.3.20.0200.05013.64
5.3.10.0100.04013.61
5.3.00.0130.04013.59
5.2.170.0170.05310.98
5.2.160.0070.04311.23
5.2.150.0170.04310.98
5.2.140.0100.04711.03
5.2.130.0130.03011.28
5.2.120.0130.03010.94
5.2.110.0170.03311.16
5.2.100.0170.02710.94
5.2.90.0100.03311.12
5.2.80.0200.03310.96
5.2.70.0100.03311.11
5.2.60.0170.02711.05
5.2.50.0230.03010.89
5.2.40.0170.03310.83
5.2.30.0070.03311.13
5.2.20.0170.02310.95
5.2.10.0170.03710.98
5.2.00.0170.03010.66
5.1.60.0070.03010.05
5.1.50.0130.0309.94
5.1.40.0130.02710.10
5.1.30.0130.03010.32
5.1.20.0130.05310.34
5.1.10.0200.05310.02
5.1.00.0130.02310.23
5.0.50.0100.0178.52
5.0.40.0130.0238.54
5.0.30.0070.0408.36
5.0.20.0070.0438.35
5.0.10.0030.0278.32
5.0.00.0100.0438.36
4.4.90.0100.0237.75
4.4.80.0070.0237.75
4.4.70.0130.0177.75
4.4.60.0070.0337.75
4.4.50.0100.0307.75
4.4.40.0100.0507.75
4.4.30.0100.0207.75
4.4.20.0030.0237.75
4.4.10.0000.0437.75
4.4.00.0070.0537.75
4.3.110.0070.0177.75
4.3.100.0070.0377.75
4.3.90.0070.0277.75
4.3.80.0030.0307.75
4.3.70.0100.0207.75
4.3.60.0100.0277.75
4.3.50.0100.0337.75
4.3.40.0070.0477.75
4.3.30.0030.0277.75
4.3.20.0070.0207.75
4.3.10.0030.0377.75
4.3.00.0030.0277.75

preferences:
44.66 ms | 401 KiB | 5 Q