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); preg_match_all("#<(?:span|div)[^>]*><\/(?:span|div)>#i",$_content,$matches); 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.0090.00618.30
8.3.50.0110.00922.18
8.3.40.0060.00918.88
8.3.30.0110.00419.10
8.3.20.0040.00420.29
8.3.10.0040.00423.69
8.3.00.0000.00819.51
8.2.180.0120.00318.43
8.2.170.0080.00818.86
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00022.27
8.2.110.0090.00020.49
8.2.100.0100.00317.91
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0000.00817.75
8.2.60.0000.01217.80
8.2.50.0030.00618.07
8.2.40.0000.00819.88
8.2.30.0040.00417.91
8.2.20.0040.00417.77
8.2.10.0000.00718.10
8.2.00.0000.00817.77
8.1.280.0070.00725.92
8.1.270.0060.00322.14
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00023.68
8.1.230.0060.00619.15
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00917.34
8.1.190.0080.00017.35
8.1.180.0070.00318.10
8.1.170.0040.00418.62
8.1.160.0000.00821.95
8.1.150.0000.00718.91
8.1.140.0030.00617.54
8.1.130.0000.00717.88
8.1.120.0000.00717.52
8.1.110.0050.00417.59
8.1.100.0000.00717.46
8.1.90.0040.00417.55
8.1.80.0040.00317.44
8.1.70.0000.00817.55
8.1.60.0060.00317.66
8.1.50.0050.00317.63
8.1.40.0040.00417.64
8.1.30.0040.00417.64
8.1.20.0040.00417.61
8.1.10.0000.00717.66
8.1.00.0040.00417.59
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0040.00418.37
8.0.270.0040.00417.05
8.0.260.0000.00717.25
8.0.250.0070.00017.18
8.0.240.0040.00417.06
8.0.230.0030.00517.13
8.0.220.0000.00716.97
8.0.210.0030.00317.11
8.0.200.0030.00317.04
8.0.190.0040.00417.02
8.0.180.0040.00416.96
8.0.170.0080.00016.91
8.0.160.0040.00716.89
8.0.150.0000.00716.97
8.0.140.0000.00817.00
8.0.130.0060.00013.43
8.0.120.0030.00617.00
8.0.110.0040.00416.89
8.0.100.0040.00417.02
8.0.90.0000.00816.98
8.0.80.0030.01316.93
8.0.70.0080.00016.92
8.0.60.0000.00716.91
8.0.50.0030.00516.93
8.0.30.0170.00517.01
8.0.20.0110.01117.40
8.0.10.0030.00617.09
8.0.00.0070.01316.88
7.4.330.0000.00515.00
7.4.320.0030.00316.73
7.4.300.0000.00716.71
7.4.290.0000.00816.75
7.4.280.0040.00416.52
7.4.270.0070.00016.74
7.4.260.0040.00416.66
7.4.250.0040.00416.72
7.4.240.0020.00616.72
7.4.230.0030.00316.56
7.4.220.0030.01516.86
7.4.210.0110.00416.61
7.4.200.0070.00016.65
7.4.160.0030.01416.71
7.4.150.0030.01517.40
7.4.140.0140.00517.86
7.4.130.0090.00916.65
7.4.120.0120.00616.63
7.4.110.0140.00316.57
7.4.100.0060.01116.63
7.4.90.0130.00916.46
7.4.80.0120.00619.39
7.4.70.0150.00316.61
7.4.60.0090.00616.74
7.4.50.0030.00316.42
7.4.40.0070.01016.63
7.4.30.0100.00716.58
7.4.00.0100.00615.07
7.3.330.0000.00513.18
7.3.320.0000.00513.13
7.3.310.0030.00316.33
7.3.300.0000.00716.27
7.3.290.0060.00916.34
7.3.280.0100.00716.40
7.3.270.0080.01117.40
7.3.260.0100.00716.42
7.3.250.0070.01116.56
7.3.240.0110.00816.45
7.3.230.0110.01116.39
7.3.210.0030.01416.58
7.3.200.0150.00919.39
7.3.190.0140.00516.44
7.3.180.0110.00516.75
7.3.170.0110.00716.69
7.3.160.0030.01216.30
7.2.330.0090.00916.74
7.2.320.0150.00616.76
7.2.310.0070.01016.64
7.2.300.0040.01316.54
7.2.290.0070.01516.34
7.2.00.0040.01519.53
7.1.100.0230.00417.94
7.1.70.0030.00517.29
7.1.60.0100.01419.32
7.1.50.0040.01516.93
7.1.00.0170.08322.32
7.0.200.0030.00516.76
7.0.140.0000.07321.92
7.0.60.0070.06319.93
7.0.50.0030.04017.94
7.0.40.0070.09020.27
7.0.30.0600.07020.18
7.0.20.0300.04720.14
7.0.10.0070.04720.34
7.0.00.0000.04720.22
5.6.280.0070.07021.02
5.6.210.0070.07720.60
5.6.200.0100.04018.12
5.6.190.0070.06320.32
5.6.180.0200.05020.27
5.6.170.0230.04020.41
5.6.160.0130.07720.37
5.6.150.0100.03718.11
5.6.140.0170.06018.11
5.6.130.0100.06718.16
5.6.120.0070.06320.95
5.6.110.0100.06720.99
5.6.100.0030.04021.04
5.6.90.0130.07720.97
5.6.80.0100.07320.39
5.5.350.0170.07720.41
5.5.340.0130.07317.91
5.5.330.0130.03720.40
5.5.320.0400.07020.34
5.5.310.0170.04320.25
5.5.300.0000.04718.02
5.5.290.0100.03317.90
5.5.280.0170.05720.77
5.5.270.0070.05020.67
5.5.260.0070.08720.73
5.5.250.0070.04320.59
5.5.240.0200.03720.26
5.4.450.0830.06719.13
5.4.440.0670.08319.44
5.4.430.0830.04719.56
5.4.420.0670.00019.14
5.4.410.0630.00019.20
5.4.400.0630.00019.23
5.4.390.0630.00018.92
5.4.380.0700.00018.98
5.4.370.0630.00019.07
5.4.360.0630.00019.05
5.4.350.0770.00019.16
5.4.340.0060.03511.97
5.4.320.0050.03712.46
5.4.310.0060.03812.45
5.4.300.0080.03512.46
5.4.290.0040.04212.46
5.4.280.0070.03612.35
5.4.270.0080.03612.35
5.4.260.0050.03912.36
5.4.250.0050.03812.35
5.4.240.0040.03812.35
5.4.230.0100.04312.34
5.4.220.0060.03612.35
5.4.210.0050.03812.35
5.4.200.0070.03612.35
5.4.190.0090.03312.34
5.4.180.0060.03812.34
5.4.170.0080.03412.36
5.4.160.0060.03612.35
5.4.150.0030.04012.35
5.4.140.0040.03912.03
5.4.130.0020.04012.02
5.4.120.0060.03611.98
5.4.110.0050.03711.97
5.4.100.0050.03611.97
5.4.90.0050.04011.97
5.4.80.0070.03911.97
5.4.70.0080.03811.97
5.4.60.0120.03411.96
5.4.50.0060.04011.96
5.4.40.0100.03211.96
5.4.30.0030.04011.95
5.4.20.0050.03711.95
5.4.10.0060.03411.95
5.4.00.0080.03511.45
5.3.290.0070.04212.80
5.3.280.0070.04012.70
5.3.270.0040.04312.72
5.3.260.0060.04012.72
5.3.250.0040.04212.72
5.3.240.0050.04112.72
5.3.230.0050.03912.71
5.3.220.0080.03712.68
5.3.210.0090.04412.68
5.3.200.0150.04212.68
5.3.190.0120.04312.68
5.3.180.0080.04312.67
5.3.170.0100.04312.67
5.3.160.0030.04212.67
5.3.150.0040.04212.67
5.3.140.0070.04012.66
5.3.130.0090.04412.66
5.3.120.0060.04812.66
5.3.110.0070.04412.66
5.3.100.0050.04212.12
5.3.90.0050.03912.09
5.3.80.0110.04112.08
5.3.70.0120.04112.07
5.3.60.0120.04212.07
5.3.50.0110.04512.00
5.3.40.0090.04712.00
5.3.30.0160.04011.96
5.3.20.0120.04311.74
5.3.10.0070.04911.70
5.3.00.0140.04111.69
5.2.170.0070.0419.20
5.2.160.0100.0379.20
5.2.150.0070.0419.20
5.2.140.0150.0359.19
5.2.130.0050.0349.15
5.2.120.0080.0269.15
5.2.110.0040.0319.16
5.2.100.0030.0319.16
5.2.90.0070.0279.16
5.2.80.0030.0329.16
5.2.70.0050.0309.15
5.2.60.0080.0529.11
5.2.50.0130.0449.07
5.2.40.0090.0349.05
5.2.30.0030.0349.03
5.2.20.0070.0319.15
5.2.10.0050.0329.05
5.2.00.0050.0328.91
5.1.60.0040.0268.21
5.1.50.0030.0288.20
5.1.40.0030.0278.18
5.1.30.0270.0668.53
5.1.20.0070.0368.55
5.1.10.0100.0588.29
5.1.00.0040.0338.28
5.0.50.0050.0246.75
5.0.40.0020.0246.62
5.0.30.0040.0316.43
5.0.20.0070.0226.40
5.0.10.0040.0216.38
5.0.00.0010.0386.37
4.4.90.0040.0224.79
4.4.80.0060.0194.77
4.4.70.0040.0214.77
4.4.60.0050.0204.77
4.4.50.0070.0204.77
4.4.40.0100.0564.76
4.4.30.0030.0174.76
4.4.20.0010.0184.85
4.4.10.0060.0144.85
4.4.00.0000.0314.79
4.3.110.0040.0164.70
4.3.100.0060.0134.68
4.3.90.0030.0154.67
4.3.80.0020.0274.66
4.3.70.0020.0174.66
4.3.60.0030.0154.66
4.3.50.0060.0144.66
4.3.40.0040.0234.61
4.3.30.0030.0153.43
4.3.20.0010.0173.40
4.3.10.0000.0193.25
4.3.00.0170.0237.33

preferences:
31.52 ms | 401 KiB | 5 Q