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); 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.0130.00316.88
8.3.50.0120.00922.18
8.3.40.0140.00718.93
8.3.30.0070.00718.96
8.3.20.0070.00020.34
8.3.10.0070.00023.65
8.3.00.0080.00019.63
8.2.180.0120.00316.63
8.2.170.0140.00722.96
8.2.160.0040.01120.57
8.2.150.0030.00624.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0080.00022.21
8.2.110.0030.00520.57
8.2.100.0030.00918.03
8.2.90.0050.00319.22
8.2.80.0030.00517.97
8.2.70.0030.00617.75
8.2.60.0060.00317.93
8.2.50.0000.00818.07
8.2.40.0030.00619.88
8.2.30.0040.00418.12
8.2.20.0000.00717.80
8.2.10.0000.00718.26
8.2.00.0030.00617.83
8.1.280.0230.00325.92
8.1.270.0090.00022.08
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.83
8.1.230.0080.00419.00
8.1.220.0000.00817.77
8.1.210.0000.00918.77
8.1.200.0050.00517.48
8.1.190.0030.00517.35
8.1.180.0090.00318.10
8.1.170.0080.00018.55
8.1.160.0050.00222.16
8.1.150.0000.00818.84
8.1.140.0000.00717.54
8.1.130.0070.00017.92
8.1.120.0040.00417.60
8.1.110.0040.00417.57
8.1.100.0000.00817.68
8.1.90.0040.00417.53
8.1.80.0030.00317.65
8.1.70.0000.00717.59
8.1.60.0040.00417.64
8.1.50.0060.00317.62
8.1.40.0040.00417.64
8.1.30.0040.00417.71
8.1.20.0040.00417.72
8.1.10.0000.00717.49
8.1.00.0040.00417.45
8.0.300.0070.00018.77
8.0.290.0030.00616.88
8.0.280.0000.00818.38
8.0.270.0000.00817.41
8.0.260.0030.00317.21
8.0.250.0030.00317.07
8.0.240.0060.00017.20
8.0.230.0030.00517.18
8.0.220.0000.00717.12
8.0.210.0030.00317.13
8.0.200.0030.00317.13
8.0.190.0040.00417.19
8.0.180.0000.00717.14
8.0.170.0030.00617.15
8.0.160.0110.00017.17
8.0.150.0050.00217.07
8.0.140.0040.00416.96
8.0.130.0060.00013.46
8.0.120.0080.00017.13
8.0.110.0040.00417.10
8.0.100.0040.00417.17
8.0.90.0000.00817.13
8.0.80.0030.01316.99
8.0.70.0080.00016.98
8.0.60.0000.00717.04
8.0.50.0030.00517.00
8.0.30.0080.01217.32
8.0.20.0120.00617.46
8.0.10.0000.00817.17
8.0.00.0090.01217.03
7.4.330.0040.00015.00
7.4.320.0000.00616.80
7.4.300.0030.00316.85
7.4.290.0030.00316.67
7.4.280.0050.00216.63
7.4.270.0000.00716.84
7.4.260.0040.00416.84
7.4.250.0030.00516.76
7.4.240.0020.00516.74
7.4.230.0070.00016.61
7.4.220.0120.00616.89
7.4.210.0000.01416.84
7.4.200.0000.00716.74
7.4.160.0060.01416.89
7.4.150.0120.00617.40
7.4.140.0100.00717.86
7.4.130.0090.01216.72
7.4.120.0060.01416.69
7.4.110.0120.00616.61
7.4.100.0030.01316.79
7.4.90.0030.01416.66
7.4.80.0060.01019.39
7.4.70.0070.01416.70
7.4.60.0140.00416.63
7.4.50.0040.00416.49
7.4.40.0110.00516.67
7.4.30.0140.00916.51
7.4.00.0050.01315.19
7.3.330.0000.00513.39
7.3.320.0000.00613.26
7.3.310.0040.00416.52
7.3.300.0000.00716.44
7.3.290.0080.00816.46
7.3.280.0100.01016.41
7.3.270.0160.00917.40
7.3.260.0100.00716.86
7.3.250.0110.00616.42
7.3.240.0070.01416.69
7.3.230.0090.00916.85
7.3.210.0100.00716.71
7.3.200.0140.01019.39
7.3.190.0140.00916.66
7.3.180.0030.01316.40
7.3.170.0040.01616.56
7.3.160.0090.00616.61
7.3.120.0080.00915.10
7.3.110.0050.01214.92
7.3.100.0050.00814.88
7.3.90.0020.01215.06
7.3.80.0050.01014.89
7.3.70.0080.00714.91
7.3.60.0060.01014.96
7.3.50.0060.00914.79
7.3.40.0030.00914.92
7.3.30.0020.00914.95
7.3.20.0100.00316.78
7.3.10.0100.00516.79
7.3.00.0090.00716.77
7.2.330.0140.00416.66
7.2.320.0100.00616.68
7.2.310.0090.00916.76
7.2.300.0100.00916.75
7.2.290.0140.00716.69
7.2.250.0120.00515.20
7.2.240.0080.00915.11
7.2.230.0050.01115.32
7.2.220.0040.00615.26
7.2.210.0060.00915.27
7.2.200.0060.00715.28
7.2.190.0050.01015.33
7.2.180.0050.00715.10
7.2.170.0070.00515.32
7.2.160.0040.01115.12
7.2.150.0040.01116.99
7.2.140.0110.00716.74
7.2.130.0110.00717.06
7.2.120.0040.00917.06
7.2.110.0120.01116.93
7.2.100.0020.00817.05
7.2.90.0020.01416.88
7.2.80.0100.00717.08
7.2.70.0060.00916.99
7.2.60.0110.00516.98
7.2.50.0050.00916.83
7.2.40.0070.00916.96
7.2.30.0070.00916.94
7.2.20.0000.01517.06
7.2.10.0040.00916.84
7.2.00.0060.01017.93
7.1.330.0110.00015.88
7.1.320.0080.00315.81
7.1.310.0060.00515.92
7.1.300.0060.01015.99
7.1.290.0050.00815.94
7.1.280.0020.01415.95
7.1.270.0070.00316.14
7.1.260.0030.00716.00
7.1.250.0100.00716.15
7.1.240.0110.01115.81
7.1.230.0030.01615.78
7.1.220.0070.01116.14
7.1.210.0050.00815.58
7.1.200.0070.01015.84
7.1.190.0130.00415.57
7.1.180.0000.01116.00
7.1.170.0040.01116.06
7.1.160.0060.01015.97
7.1.150.0060.00615.87
7.1.140.0040.00815.85
7.1.130.0030.01315.67
7.1.120.0040.01115.98
7.1.110.0040.01116.02
7.1.100.0130.00517.07
7.1.90.0030.00915.93
7.1.80.0120.00015.96
7.1.70.0040.00716.45
7.1.60.0080.01117.61
7.1.50.0030.00916.61
7.1.40.0090.00615.64
7.1.30.0040.01116.02
7.1.20.0000.01415.66
7.1.10.0000.01115.86
7.1.00.0050.05119.20
7.0.330.0080.00815.52
7.0.320.0060.00915.47
7.0.310.0000.01415.24
7.0.300.0000.01315.66
7.0.290.0070.00715.52
7.0.280.0060.00615.48
7.0.270.0100.00615.26
7.0.260.0000.01315.62
7.0.250.0050.00515.54
7.0.240.0090.00615.36
7.0.230.0090.00615.74
7.0.220.0100.00315.77
7.0.210.0030.01015.67
7.0.200.0030.00816.27
7.0.190.0030.00715.64
7.0.180.0120.00615.50
7.0.170.0070.00715.21
7.0.160.0070.00315.55
7.0.150.0070.01015.36
7.0.140.0050.04018.79
7.0.130.0040.01215.29
7.0.120.0090.00315.38
7.0.110.0060.00315.51
7.0.100.0040.01115.57
7.0.90.0050.00815.76
7.0.80.0090.00315.71
7.0.70.0070.00715.37
7.0.60.0050.04817.83
7.0.50.0080.05216.89
7.0.40.0100.04516.70
7.0.30.0280.03216.84
7.0.20.0150.03016.90
7.0.10.0050.03616.84
7.0.00.0030.03416.78
5.6.380.0090.00614.04
5.6.370.0110.00614.71
5.6.360.0080.00814.65
5.6.350.0080.00514.44
5.6.340.0030.00614.42
5.6.330.0000.01214.55
5.6.320.0060.00614.32
5.6.310.0040.00414.68
5.6.300.0070.00314.30
5.6.290.0130.00014.16
5.6.280.0090.03717.69
5.6.270.0000.01414.34
5.6.260.0070.00314.32
5.6.250.0060.00614.49
5.6.240.0060.00314.68
5.6.230.0000.01014.49
5.6.220.0000.01014.43
5.6.210.0080.04617.65
5.6.200.0110.04216.34
5.6.190.0130.02817.28
5.6.180.0230.02617.45
5.6.170.0100.02717.36
5.6.160.0070.04717.33
5.6.150.0080.04316.23
5.6.140.0040.04216.22
5.6.130.0040.04916.35
5.6.120.0060.04617.60
5.6.110.0070.03717.73
5.6.100.0020.02717.65
5.6.90.0050.04817.70
5.6.80.0080.04317.35
5.6.70.0030.00914.36
5.6.60.0120.00014.41
5.6.50.0030.01014.08
5.6.40.0030.00714.19
5.6.30.0060.00614.31
5.6.20.0060.00614.18
5.6.10.0040.01114.54
5.6.00.0050.00514.41
5.5.380.0040.00411.26
5.5.370.0000.00911.21
5.5.360.0040.00411.18
5.5.350.0080.04215.85
5.5.340.0050.03714.58
5.5.330.0030.02515.79
5.5.320.0230.03515.74
5.5.310.0150.03215.72
5.5.300.0030.02114.55
5.5.290.0050.02014.61
5.5.280.0030.03716.06
5.5.270.0070.02816.02
5.5.260.0070.04016.01
5.5.250.0080.04015.89
5.5.240.0150.04015.72
5.5.230.0000.00611.18
5.5.220.0030.00311.18
5.5.210.0030.00511.18
5.5.200.0000.00911.18
5.5.190.0080.00011.18
5.5.180.0000.01011.18
5.5.170.0040.00411.23
5.5.160.0040.00411.23
5.5.150.0030.00311.18
5.5.140.0030.01011.18
5.5.130.0100.00011.18
5.5.120.0030.00911.18
5.5.110.0050.00511.18
5.5.100.0070.00011.18
5.5.90.0060.00311.18
5.5.80.0000.00911.18
5.5.70.0080.00011.18
5.5.60.0080.00011.18
5.5.50.0070.00011.18
5.5.40.0000.00611.25
5.5.30.0060.00311.18
5.5.20.0030.00611.22
5.5.10.0000.00611.18
5.5.00.0030.00711.18
5.4.450.0240.04015.29
5.4.440.0220.02715.15
5.4.430.0440.03015.22
5.4.420.0350.00315.32
5.4.410.0330.00415.30
5.4.400.0350.00115.18
5.4.390.0320.00615.12
5.4.380.0330.00515.15
5.4.370.0380.00215.11
5.4.360.0470.00215.18
5.4.350.0440.00215.21
5.4.340.0020.02211.57
5.4.330.0040.00711.18
5.4.320.0080.02311.82
5.4.310.0080.02211.82
5.4.300.0040.03611.82
5.4.290.0090.02011.81
5.4.280.0080.02811.76
5.4.270.0040.02711.77
5.4.260.0060.02411.76
5.4.250.0020.02611.76
5.4.240.0060.02111.76
5.4.230.0050.02511.76
5.4.220.0070.04511.76
5.4.210.0090.03911.76
5.4.200.0030.03111.76
5.4.190.0070.02911.76
5.4.180.0060.02711.76
5.4.170.0050.03811.76
5.4.160.0110.03111.76
5.4.150.0080.02911.76
5.4.140.0070.04011.60
5.4.130.0100.01811.60
5.4.120.0080.01911.58
5.4.110.0030.02211.57
5.4.100.0100.03111.58
5.4.90.0040.02411.57
5.4.80.0060.02311.57
5.4.70.0090.02211.57
5.4.60.0130.03111.57
5.4.50.0140.02911.57
5.4.40.0050.02111.57
5.4.30.0060.02311.56
5.4.20.0060.02111.56
5.4.10.0080.02811.56
5.4.00.0050.03511.31
5.3.290.0110.03111.99
5.3.280.0050.03211.94
5.3.270.0050.02911.95
5.3.260.0070.02711.95
5.3.250.0060.03511.95
5.3.240.0060.02811.95
5.3.230.0050.02411.94
5.3.220.0130.04011.93
5.3.210.0090.04011.93
5.3.200.0080.02711.93
5.3.190.0070.03911.93
5.3.180.0070.03611.92
5.3.170.0120.04811.92
5.3.160.0130.03011.92
5.3.150.0080.02511.92
5.3.140.0070.03311.92
5.3.130.0090.02511.92
5.3.120.0080.02411.92
5.3.110.0050.02211.91
5.3.100.0080.05311.65
5.3.90.0070.02111.63
5.3.80.0090.03211.63
5.3.70.0040.02211.63
5.3.60.0040.02311.62
5.3.50.0060.02011.59
5.3.40.0050.02511.59
5.3.30.0070.02611.57
5.3.20.0040.03811.46
5.3.10.0080.02711.44
5.3.00.0070.02211.44
5.2.170.0020.02310.19
5.2.160.0100.02410.19
5.2.150.0050.02310.19
5.2.140.0040.02310.19
5.2.130.0030.02010.17
5.2.120.0020.02010.17
5.2.110.0040.01810.17
5.2.100.0060.02110.17
5.2.90.0110.01810.17
5.2.80.0040.02010.17
5.2.70.0020.02110.17
5.2.60.0050.02310.14
5.2.50.0020.02010.13
5.2.40.0060.02010.12
5.2.30.0060.01510.11
5.2.20.0050.02010.16
5.2.10.0060.02010.12
5.2.00.0090.03110.05
5.1.60.0050.0209.70
5.1.50.0060.0179.69
5.1.40.0040.0209.69
5.1.30.0050.0219.86
5.1.20.0070.0239.87
5.1.10.0040.0199.73
5.1.00.0060.0159.73
5.0.50.0050.0148.97
5.0.40.0090.0198.90
5.0.30.0050.0208.80
5.0.20.0020.0178.79
5.0.10.0080.0348.78
5.0.00.0040.0168.77
4.4.90.0020.0117.98
4.4.80.0020.0107.96
4.4.70.0020.0177.97
4.4.60.0020.0307.96
4.4.50.0040.0257.97
4.4.40.0060.0247.96
4.4.30.0020.0217.97
4.4.20.0020.0138.01
4.4.10.0020.0168.01
4.4.00.0050.0267.98
4.3.110.0060.0147.93
4.3.100.0060.0137.93
4.3.90.0030.0137.92
4.3.80.0050.0157.92
4.3.70.0040.0127.92
4.3.60.0020.0137.92
4.3.50.0070.0227.91
4.3.40.0070.0147.89
4.3.30.0060.0247.30
4.3.20.0030.0127.29
4.3.10.0020.0127.21
4.3.00.0050.0169.25

preferences:
43.88 ms | 401 KiB | 5 Q