3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = 'hello <a rel="nofollow" href="//feeds.wordpress.com/1.0/gocomments/thaiintelligentnews.wordpress.com/53646/"><img onerror="javascript: wp_broken_images = window.wp_broken_images || function(){}; wp_broken_images(this);" alt="" src="//feeds.wordpress.com/1.0/comments/thaiintelligentnews.wordpress.com/53646/" border="0"></a>there<a href="#">bla</a>'; $_content = preg_replace('#<a [^>]*(?:sharer.php|tumblr.com\/share\/|\/pin\/create\/|\/gocomments\/)[^>]*>(.*?)<\/a>#i', '', $_content); 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.70.0090.00618.55
8.3.60.0100.00716.38
8.3.50.0100.01022.96
8.3.40.0070.00718.79
8.3.30.0180.00019.08
8.3.20.0000.00820.21
8.3.10.0000.00823.48
8.3.00.0040.00419.38
8.2.180.0090.00616.75
8.2.170.0120.00322.96
8.2.160.0030.01020.52
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0030.01026.16
8.2.120.0040.00420.89
8.2.110.0090.00020.35
8.2.100.0080.00417.91
8.2.90.0080.00018.09
8.2.80.0030.00517.97
8.2.70.0060.00317.75
8.2.60.0080.00017.91
8.2.50.0000.00818.07
8.2.40.0030.00518.16
8.2.30.0080.00318.14
8.2.20.0000.00717.82
8.2.10.0040.00418.03
8.2.00.0000.00717.90
8.1.280.0140.00725.92
8.1.270.0060.00323.79
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.19
8.1.230.0040.00720.97
8.1.220.0080.00017.79
8.1.210.0060.00319.02
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0060.00318.50
8.1.160.0000.00721.97
8.1.150.0000.00718.70
8.1.140.0040.00417.54
8.1.130.0000.00717.89
8.1.120.0040.00417.53
8.1.110.0040.00417.57
8.1.100.0050.00317.58
8.1.90.0000.00717.52
8.1.80.0040.00417.43
8.1.70.0000.00717.47
8.1.60.0000.00917.69
8.1.50.0080.00017.58
8.1.40.0030.00517.58
8.1.30.0040.00417.73
8.1.20.0000.00717.78
8.1.10.0050.00217.68
8.1.00.0040.00417.67
8.0.300.0040.00420.05
8.0.290.0000.00916.75
8.0.280.0050.00318.38
8.0.270.0000.00717.33
8.0.260.0030.00517.19
8.0.250.0040.00417.08
8.0.240.0040.00417.00
8.0.230.0000.00717.05
8.0.220.0000.00816.93
8.0.210.0070.00017.02
8.0.200.0020.00517.00
8.0.190.0030.00617.07
8.0.180.0030.00617.01
8.0.170.0090.00016.92
8.0.160.0000.00716.89
8.0.150.0050.00216.96
8.0.140.0040.00416.93
8.0.130.0050.00013.36
8.0.120.0060.00316.94
8.0.110.0000.00716.95
8.0.100.0040.00417.03
8.0.90.0080.00017.00
8.0.80.0080.01317.02
8.0.70.0050.00216.85
8.0.60.0030.00516.92
8.0.50.0050.00316.89
8.0.30.0150.00517.18
8.0.20.0170.00917.40
8.0.10.0040.00416.98
8.0.00.0060.01116.92
7.4.330.0000.00515.04
7.4.320.0000.00816.62
7.4.300.0060.00016.74
7.4.290.0000.00716.66
7.4.280.0000.00716.65
7.4.270.0050.00316.75
7.4.260.0070.00016.63
7.4.250.0050.00216.74
7.4.240.0060.00316.65
7.4.230.0030.00316.84
7.4.220.0150.00316.68
7.4.210.0070.00716.79
7.4.200.0070.00016.82
7.4.160.0090.00616.76
7.4.150.0090.00917.40
7.4.140.0120.00917.86
7.4.130.0110.00816.62
7.4.120.0150.00516.69
7.4.110.0030.01616.55
7.4.100.0170.00716.61
7.4.90.0030.01316.58
7.4.80.0060.01019.39
7.4.70.0040.01216.60
7.4.60.0090.00916.54
7.4.50.0000.00516.64
7.4.40.0030.01316.70
7.4.30.0140.00416.57
7.4.00.0100.00615.15
7.3.330.0000.00813.19
7.3.320.0030.00313.03
7.3.310.0040.00416.31
7.3.300.0000.00716.31
7.3.290.0000.01416.34
7.3.280.0040.01216.35
7.3.270.0070.01117.40
7.3.260.0060.01316.64
7.3.250.0110.00616.70
7.3.240.0200.00416.66
7.3.230.0030.01516.59
7.3.210.0120.00616.24
7.3.200.0120.00819.39
7.3.190.0080.00916.73
7.3.180.0030.01216.64
7.3.170.0130.00716.39
7.3.160.0090.00616.68
7.3.10.0090.00916.61
7.3.00.0030.01216.96
7.2.330.0090.00616.75
7.2.320.0150.00616.73
7.2.310.0160.00616.66
7.2.300.0080.00816.66
7.2.290.0090.00816.55
7.2.130.0000.01517.08
7.2.120.0100.00716.88
7.2.110.0130.00317.02
7.2.100.0090.00616.90
7.2.90.0000.01417.15
7.2.80.0060.00917.05
7.2.70.0060.01016.86
7.2.60.0040.01116.88
7.2.50.0070.00717.08
7.2.40.0000.01217.09
7.2.30.0100.00316.80
7.2.20.0080.00416.69
7.2.10.0030.00616.73
7.2.00.0000.01217.04
7.1.250.0070.00715.67
7.1.70.0080.00617.12
7.1.60.0120.01219.40
7.1.50.0160.00317.15
7.1.00.0030.07322.56
7.0.200.0290.00015.00
7.0.140.0070.07022.08
7.0.60.0100.03319.79
7.0.50.0030.07717.88
7.0.40.0170.04020.26
7.0.30.0400.07720.19
7.0.20.0300.06720.21
7.0.10.0100.05320.03
7.0.00.0070.07320.11
5.6.280.0100.06720.89
5.6.210.0070.08320.66
5.6.200.0000.06318.13
5.6.190.0100.06320.48
5.6.180.4130.04320.41
5.6.170.0230.03320.41
5.6.160.0130.07720.38
5.6.150.0100.08018.12
5.6.140.0130.08018.12
5.6.130.0130.08018.15
5.6.120.0000.06021.01
5.6.110.0170.06720.95
5.6.100.0100.05021.07
5.6.90.0130.08020.94
5.6.80.0070.05320.51
5.6.70.3470.03320.40
5.5.350.0170.04020.32
5.5.340.0070.07717.95
5.5.330.0000.04320.34
5.5.320.0270.04020.23
5.5.310.0330.05720.41
5.5.300.0100.07717.98
5.5.290.0100.08017.94
5.5.280.0130.07320.76
5.5.270.0130.06720.71
5.5.260.0100.07320.67
5.5.250.0070.07320.57
5.5.240.0130.07320.15
5.4.450.0430.05019.46
5.4.440.0370.03719.56
5.4.430.0370.04719.41
5.4.420.0470.03719.41
5.4.410.0170.03319.29
5.4.400.0370.04319.22
5.4.390.0170.04719.08
5.4.380.0170.05018.62
5.4.370.0170.04718.61
5.4.360.0070.05718.64
5.4.350.0100.06018.57
5.4.340.0270.04018.48
5.4.320.0040.04012.45
5.4.310.0050.05512.45
5.4.300.0090.04412.45
5.4.290.0050.04012.45
5.4.280.0070.03612.34
5.4.270.0080.04212.34
5.4.260.0080.04112.35
5.4.250.0070.03912.35
5.4.240.0070.03712.34
5.4.230.0070.03812.34
5.4.220.0050.04212.34
5.4.210.0080.03512.34
5.4.200.0060.04112.34
5.4.190.0070.04412.33
5.4.180.0050.04212.33
5.4.170.0090.03912.35
5.4.160.0090.03612.34
5.4.150.0080.03612.34
5.4.140.0070.03812.02
5.4.130.0080.03612.01
5.4.120.0130.04711.96
5.4.110.0040.04111.96
5.4.100.0080.04411.96
5.4.90.0070.05111.96
5.4.80.0030.05611.96
5.4.70.0070.04911.96
5.4.60.0090.04811.96
5.4.50.0090.04811.96
5.4.40.0100.04611.95
5.4.30.0120.03211.95
5.4.20.0090.03711.94
5.4.10.0060.05011.95
5.4.00.0090.04311.44
5.3.290.0060.04712.80
5.3.280.0070.04112.71
5.3.270.0080.04312.72
5.3.260.0050.04412.72
5.3.250.0100.03412.72
5.3.240.0080.04812.72
5.3.230.0100.04612.71
5.3.220.0130.04712.68
5.3.210.0110.05012.68
5.3.200.0080.04912.68
5.3.190.0100.03512.68
5.3.180.0060.04112.68
5.3.170.0060.03712.67
5.3.160.0070.03612.67
5.3.150.0070.03712.67
5.3.140.0070.04012.66
5.3.130.0060.04212.66
5.3.120.0070.04412.66
5.3.110.0060.04312.66
5.3.100.0060.04312.12
5.3.90.0100.03512.08
5.3.80.0040.04212.07
5.3.70.0060.03912.07
5.3.60.0080.03512.06
5.3.50.0030.03912.00
5.3.40.0080.03512.00
5.3.30.0100.03311.95
5.3.20.0100.04611.73
5.3.10.0080.04911.70
5.3.00.0110.03911.69
5.2.170.0060.0319.19
5.2.160.0040.0339.19
5.2.150.0030.0419.19
5.2.140.0040.0349.18
5.2.130.0060.0309.14
5.2.120.0050.0309.15
5.2.110.0060.0299.15
5.2.100.0060.0309.15
5.2.90.0060.0299.15
5.2.80.0060.0319.15
5.2.70.0040.0339.14
5.2.60.0060.0319.10
5.2.50.0040.0329.07
5.2.40.0080.0279.05
5.2.30.0060.0299.03
5.2.20.0080.0269.02
5.2.10.0070.0278.91
5.2.00.0040.0308.78
5.1.60.0060.0238.06
5.1.50.0050.0258.05
5.1.40.0050.0248.04
5.1.30.0050.0268.39
5.1.20.0040.0278.41
5.1.10.0040.0278.14
5.1.00.0050.0268.13
5.0.50.0060.0196.62
5.0.40.0040.0196.47
5.0.30.0030.0326.29
5.0.20.0040.0196.26
5.0.10.0020.0226.24
5.0.00.0050.0336.23
4.4.90.0040.0164.77
4.4.80.0020.0174.75
4.4.70.0040.0154.76
4.4.60.0040.0154.75
4.4.50.0020.0174.77
4.4.40.0010.0274.71
4.4.30.0040.0154.76
4.4.20.0040.0154.85
4.4.10.0030.0164.85
4.4.00.0020.0254.76
4.3.110.0030.0164.67
4.3.100.0040.0144.66
4.3.90.0050.0124.64
4.3.80.0030.0244.58
4.3.70.0040.0134.63
4.3.60.0020.0164.63
4.3.50.0030.0164.62
4.3.40.0010.0264.54
4.3.30.0030.0153.28
4.3.20.0020.0173.25
4.3.10.0020.0163.22
4.3.00.0070.01313.43

preferences:
38.86 ms | 401 KiB | 5 Q