3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = <<<HMX <thumb style="display: none;"><img src="/wp-content/uploads/2014/10/be98dc71560ae864.jpg.jpg"></thumb> <div><div> <span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre &ndash; A Verdict Long Overdue" displaytext="sharethis"></span> <span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre &ndash; A Verdict Long Overdue" displaytext="email"></span> <span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre &ndash; A Verdict Long Overdue" displaytext="reddit"></span> <span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre &ndash; A Verdict Long Overdue #occupy" st_via="occupy" st_username="" displaytext="twitter"></span> <span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre &ndash; A Verdict Long Overdue" displaytext="plusone"></span> <span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre &ndash; A Verdict Long Overdue" displaytext="fblike"></span> </div></div> <a href="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue"><img src="http://www.occuworld.org/wp-content/uploads/2014/10/be98dc71560ae864.jpg.jpg?itok=Fxb98rUD" width="140" height="140"></a><p>Not simply individual guards should answer for this tragedy &ndash; but the leaders of private security companies and the governments that employ them must also be held to account.</p> <div class="post_source_linkbar"> <a class="post_source_logo" href="http://www.occupy.com/rss"><img class="post_source_logo" src="http://www.occupy.com/sites/default/themes/occupyzen/logo.png"></a><img class="post_source_icon" title="Occupy.com" src="http://www.google.com/s2/favicons?domain=http%3A%2F%2Fwww.occupy.com%2Frss"><a class="post_source" target="_blank" href="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%C3%A2%C2%80%C2%93-verdict-long-overdue">Source</a> </div> HMX; //preg_match("#<span[^>]*st_url[^>]*><\/span>#i",$_content,$matches); $count = 0; do { $_content = preg_replace("#<(?:span|div)[^>]*><\/(?:span|div)>#i",'',$_content,-1,$count); } while ($count > 0); //var_dump($matches); echo $_content; ?>

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.0120.00318.41
8.3.50.0060.01422.16
8.3.40.0000.01519.01
8.3.30.0110.00318.92
8.3.20.0040.00420.34
8.3.10.0000.00823.36
8.3.00.0080.00019.63
8.2.180.0090.00616.38
8.2.170.0110.00422.96
8.2.160.0100.00320.35
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00022.08
8.2.110.0040.00420.22
8.2.100.0000.01118.22
8.2.90.0080.00019.07
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0040.00418.03
8.2.50.0080.00018.07
8.2.40.0040.00420.04
8.2.30.0000.00717.97
8.2.20.0040.00417.78
8.2.10.0080.00018.07
8.2.00.0030.00517.91
8.1.280.0110.00825.92
8.1.270.0030.00522.14
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.96
8.1.230.0000.01119.09
8.1.220.0040.00417.78
8.1.210.0050.00318.77
8.1.200.0040.00417.47
8.1.190.0000.00817.34
8.1.180.0080.00318.10
8.1.170.0080.00018.72
8.1.160.0040.00421.96
8.1.150.0050.00218.85
8.1.140.0030.00517.60
8.1.130.0030.00317.78
8.1.120.0040.00417.68
8.1.110.0040.00417.54
8.1.100.0030.00317.60
8.1.90.0040.00417.64
8.1.80.0040.00417.60
8.1.70.0000.00717.56
8.1.60.0030.00617.63
8.1.50.0040.00417.67
8.1.40.0080.00017.67
8.1.30.0030.00517.82
8.1.20.0070.00017.85
8.1.10.0000.00817.70
8.1.00.0000.00817.61
8.0.300.0030.00518.77
8.0.290.0000.00716.75
8.0.280.0000.00718.38
8.0.270.0050.00217.30
8.0.260.0030.00317.21
8.0.250.0030.00317.15
8.0.240.0000.00717.13
8.0.230.0040.00417.20
8.0.220.0030.00317.02
8.0.210.0000.00717.10
8.0.200.0000.00717.16
8.0.190.0030.00617.16
8.0.180.0000.00717.14
8.0.170.0040.00417.10
8.0.160.0080.00317.09
8.0.150.0070.00017.05
8.0.140.0040.00417.10
8.0.130.0060.00013.52
8.0.120.0000.00817.11
8.0.110.0030.00517.00
8.0.100.0000.00717.05
8.0.90.0000.00917.17
8.0.80.0130.00317.10
8.0.70.0000.00817.01
8.0.60.0040.00417.02
8.0.50.0070.00017.13
8.0.30.0120.00917.29
8.0.20.0070.01617.40
8.0.10.0080.00017.25
8.0.00.0090.01517.02
7.4.330.0050.00015.00
7.4.320.0060.00016.65
7.4.300.0040.00416.84
7.4.290.0000.00716.73
7.4.280.0000.00716.72
7.4.270.0030.00316.62
7.4.260.0100.00016.70
7.4.250.0000.00716.58
7.4.240.0050.00316.81
7.4.230.0040.00416.63
7.4.220.0120.00616.86
7.4.210.0040.01016.75
7.4.200.0040.00416.68
7.4.160.0110.00616.68
7.4.150.0160.01017.40
7.4.140.0070.01017.86
7.4.130.0140.00416.89
7.4.120.0050.01216.72
7.4.110.0040.01316.73
7.4.100.0060.01216.84
7.4.90.0030.01416.85
7.4.80.0110.01119.39
7.4.70.0090.01216.83
7.4.60.0120.00916.85
7.4.50.0060.00316.76
7.4.40.0030.01216.69
7.4.30.0100.00716.58
7.4.00.0040.00815.35
7.3.330.0050.00013.40
7.3.320.0050.00013.26
7.3.310.0030.00316.29
7.3.300.0030.00316.45
7.3.290.0110.00916.54
7.3.280.0070.01016.42
7.3.270.0140.00617.40
7.3.260.0100.00716.69
7.3.240.0100.01416.68
7.3.230.0090.01216.43
7.3.210.0120.00616.41
7.3.200.0110.00619.39
7.3.190.0120.00916.38
7.3.180.0130.00316.66
7.3.170.0110.00516.52
7.3.160.0110.01116.48
7.3.10.0100.01016.50
7.3.00.0270.01216.68
7.2.330.0160.00316.71
7.2.320.0110.00716.63
7.2.310.0070.01016.70
7.2.300.0060.01116.61
7.2.290.0000.01716.64
7.2.130.0180.00916.68
7.2.120.0380.01016.64
7.2.110.0270.00316.55
7.2.100.0140.00916.37
7.2.90.0180.00716.92
7.2.80.0190.00816.67
7.2.70.0110.00416.62
7.2.60.0040.01116.76
7.2.50.0160.00416.90
7.2.40.0110.00316.86
7.2.30.0060.00716.70
7.2.20.0130.00316.91
7.2.10.0060.00616.75
7.2.00.0050.00818.10
7.1.250.0350.00915.49
7.1.200.0100.00615.88
7.1.100.0180.01118.11
7.1.70.0040.01117.36
7.1.60.0070.01819.32
7.1.50.0040.00717.16
7.1.00.0130.06322.29
7.0.200.0030.00717.02
7.0.140.0000.07722.04
7.0.60.0000.08319.94
7.0.50.0030.08017.82
7.0.40.0070.04320.06
7.0.30.0170.05320.19
7.0.20.0330.05020.34
7.0.10.0000.09020.05
7.0.00.0170.06020.19
5.6.280.0030.07321.13
5.6.210.0070.04720.70
5.6.200.0130.07318.08
5.6.190.0100.06020.61
5.6.180.0400.03720.43
5.6.170.0300.07020.37
5.6.160.0130.04320.47
5.6.150.0070.08718.11
5.6.140.0030.08318.11
5.6.130.0130.07718.17
5.6.120.0000.04320.99
5.6.110.0130.08021.09
5.6.100.0000.04720.99
5.6.90.0070.07721.05
5.6.80.0100.07720.37
5.5.350.0030.05720.52
5.5.340.0070.04018.02
5.5.330.0100.08020.29
5.5.320.0430.08020.32
5.5.310.0170.05320.32
5.5.300.0070.07017.98
5.5.290.0000.04317.95
5.5.280.0130.07020.80
5.5.270.0070.08320.89
5.5.260.0000.07720.86
5.5.250.0130.07020.69
5.5.240.0000.03720.16
5.4.450.0870.05719.21
5.4.440.0870.06019.32
5.4.430.0730.05319.25
5.4.420.0670.00019.15
5.4.410.0900.00019.24
5.4.400.0900.00019.17
5.4.390.0630.00019.04
5.4.380.0870.00019.26
5.4.370.0630.00019.16
5.4.360.0700.00019.26
5.4.350.0670.00019.14
5.4.340.0080.04711.97
5.4.320.0070.03612.46
5.4.310.0030.04512.46
5.4.300.0070.05212.46
5.4.290.0090.04912.46
5.4.280.0070.03512.35
5.4.270.0040.04012.36
5.4.260.0080.03912.36
5.4.250.0060.03812.36
5.4.240.0040.03912.36
5.4.230.0170.09312.34
5.4.220.0060.03912.34
5.4.210.0070.05212.35
5.4.200.0050.03912.35
5.4.190.0070.03612.34
5.4.180.0060.03612.34
5.4.170.0070.03712.36
5.4.160.0070.03612.35
5.4.150.0070.03412.34
5.4.140.0030.04612.03
5.4.130.0060.03812.02
5.4.120.0050.04111.97
5.4.110.0050.03811.97
5.4.100.0030.03911.98
5.4.90.0060.03711.97
5.4.80.0050.04011.97
5.4.70.0070.03611.96
5.4.60.0040.03911.96
5.4.50.0060.04911.97
5.4.40.0090.04411.95
5.4.30.0110.03811.95
5.4.20.0080.03211.96
5.4.10.0040.04311.96
5.4.00.0060.03611.45
5.3.290.0090.04512.80
5.3.280.0050.04712.71
5.3.270.0040.04412.72
5.3.260.0060.04312.72
5.3.250.0050.03912.72
5.3.240.0060.04312.72
5.3.230.0080.05012.71
5.3.220.0100.04312.68
5.3.210.0040.04312.68
5.3.200.0050.03812.68
5.3.190.0030.04112.68
5.3.180.0080.03412.68
5.3.170.0040.04012.67
5.3.160.0070.03712.67
5.3.150.0090.05512.67
5.3.140.0060.04712.66
5.3.130.0070.05812.66
5.3.120.0100.04512.66
5.3.110.0090.05212.66
5.3.100.0070.03712.12
5.3.90.0050.03812.09
5.3.80.0080.03612.07
5.3.70.0070.03912.08
5.3.60.0090.03712.06
5.3.50.0040.03912.00
5.3.40.0090.03712.00
5.3.30.0050.03711.96
5.3.20.0040.03711.74
5.3.10.0040.03911.71
5.3.00.0090.03511.70
5.2.170.0070.0309.21
5.2.160.0060.0399.20
5.2.150.0080.0319.20
5.2.140.0130.0539.20
5.2.130.0100.0429.16
5.2.120.0050.0299.16
5.2.110.0050.0349.17
5.2.100.0060.0339.16
5.2.90.0020.0339.16
5.2.80.0070.0349.16
5.2.70.0050.0339.16
5.2.60.0070.0369.11
5.2.50.0030.0379.08
5.2.40.0040.0309.06
5.2.30.0080.0279.04
5.2.20.0060.0369.16
5.2.10.0040.0299.06
5.2.00.0070.0408.92
5.1.60.0060.0258.21
5.1.50.0050.0368.21
5.1.40.0080.0358.19
5.1.30.0090.0428.54
5.1.20.0080.0348.57
5.1.10.0080.0348.29
5.1.00.0030.0328.29
5.0.50.0030.0226.76
5.0.40.0020.0256.61
5.0.30.0060.0396.43
5.0.20.0040.0496.39
5.0.10.0010.0286.38
5.0.00.0040.0426.37
4.4.90.0050.0244.78
4.4.80.0080.0294.76
4.4.70.0030.0184.75
4.4.60.0030.0164.75
4.4.50.0040.0154.77
4.4.40.0050.0254.76
4.4.30.0010.0174.76
4.4.20.0030.0174.84
4.4.10.0030.0184.85
4.4.00.0050.0254.79
4.3.110.0020.0174.69
4.3.100.0000.0194.68
4.3.90.0030.0174.66
4.3.80.0020.0354.66
4.3.70.0060.0184.66
4.3.60.0030.0184.66
4.3.50.0050.0204.66
4.3.40.0040.0364.62
4.3.30.0010.0183.43
4.3.20.0040.0203.40
4.3.10.0000.0183.24
4.3.00.0370.01312.46

preferences:
44.69 ms | 401 KiB | 5 Q