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'; $_content = preg_replace('#<a [^>]*>[^<]*<\/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.60.0080.01116.37
8.3.50.0100.00722.84
8.3.40.0120.00918.94
8.3.30.0080.00819.05
8.3.20.0070.00020.38
8.3.10.0080.00023.71
8.3.00.0040.00419.51
8.2.180.0100.01317.00
8.2.170.0170.00322.96
8.2.160.0100.00320.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00021.02
8.2.110.0090.00019.27
8.2.100.0090.00317.97
8.2.90.0040.00417.75
8.2.80.0060.00318.87
8.2.70.0030.00517.75
8.2.60.0090.00017.72
8.2.50.0000.00817.75
8.2.40.0040.00419.78
8.2.30.0060.00318.14
8.2.20.0000.00917.70
8.2.10.0000.00718.16
8.2.00.0020.00517.77
8.1.280.0060.00825.92
8.1.270.0070.00722.08
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0080.00422.00
8.1.230.0080.00420.97
8.1.220.0030.00618.77
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0000.00917.62
8.1.160.0040.00421.88
8.1.150.0000.00718.79
8.1.140.0080.00017.49
8.1.130.0030.00317.45
8.1.120.0050.00217.55
8.1.110.0000.00817.45
8.1.100.0020.00517.52
8.1.90.0040.00317.51
8.1.80.0040.00417.43
8.1.70.0030.00317.54
8.1.60.0060.00317.58
8.1.50.0000.00817.53
8.1.40.0040.00417.62
8.1.30.0000.00817.66
8.1.20.0040.00417.75
8.1.10.0040.00417.56
8.1.00.0000.00717.63
8.0.300.0050.00220.04
8.0.290.0000.00916.88
8.0.280.0030.00318.40
8.0.270.0030.00516.83
8.0.260.0030.00316.88
8.0.250.0000.00717.01
8.0.240.0000.00817.14
8.0.230.0030.00317.01
8.0.220.0030.00316.88
8.0.210.0000.00716.85
8.0.200.0030.00317.05
8.0.190.0000.00816.93
8.0.180.0000.00716.89
8.0.170.0070.00016.88
8.0.160.0070.00017.03
8.0.150.0080.00016.94
8.0.140.0000.00816.81
8.0.130.0000.00513.44
8.0.120.0050.00216.84
8.0.110.0000.00716.89
8.0.100.0000.00716.86
8.0.90.0040.00416.83
8.0.80.0060.01216.86
8.0.70.0000.00716.92
8.0.60.0000.00716.80
8.0.50.0040.00416.82
8.0.30.0050.01417.11
8.0.20.0060.01317.40
8.0.10.0000.00717.11
8.0.00.0070.01016.99
7.4.330.0000.00515.00
7.4.320.0030.00316.60
7.4.300.0060.00016.79
7.4.290.0000.00716.51
7.4.280.0020.00516.59
7.4.270.0070.00016.52
7.4.260.0030.00316.71
7.4.250.0000.00716.72
7.4.240.0000.00716.76
7.4.230.0080.00016.74
7.4.220.0030.01616.74
7.4.210.0030.01316.69
7.4.200.0050.00316.84
7.4.160.0060.00916.62
7.4.150.0070.01417.40
7.4.140.0160.00617.86
7.4.130.0050.01216.75
7.4.120.0090.00816.57
7.4.110.0070.01016.83
7.4.100.0060.01216.56
7.4.90.0100.00716.57
7.4.80.0060.01219.39
7.4.70.0100.00716.55
7.4.60.0060.01116.69
7.4.50.0040.00016.74
7.4.40.0090.00916.56
7.4.30.0120.00916.66
7.4.00.0040.01115.22
7.3.330.0030.00313.10
7.3.320.0000.00513.28
7.3.310.0070.00016.23
7.3.300.0030.00316.39
7.3.290.0100.00316.46
7.3.280.0070.00816.35
7.3.270.0130.01017.40
7.3.260.0100.01316.47
7.3.250.0050.01416.38
7.3.240.0120.01116.31
7.3.230.0110.00516.40
7.3.210.0170.00016.63
7.3.200.0000.01516.34
7.3.190.0070.01416.61
7.3.180.0130.00416.41
7.3.170.0110.00616.61
7.3.160.0100.00716.51
7.2.330.0150.00316.68
7.2.320.0140.00316.74
7.2.310.0130.00316.84
7.2.300.0140.00316.75
7.2.290.0120.00616.62
7.2.00.0060.00619.50
7.1.100.0030.00718.43
7.1.70.0060.00917.41
7.1.60.0100.01319.40
7.1.50.0070.01417.02
7.1.00.0100.06722.50
7.0.200.0510.00314.80
7.0.140.0070.07021.95
7.0.60.0100.06720.01
7.0.50.0070.03717.85
7.0.40.0000.05020.29
7.0.30.0570.07020.14
7.0.20.0200.07720.20
7.0.10.0030.06720.14
7.0.00.0070.04720.10
5.6.280.0070.07020.99
5.6.210.0100.08020.47
5.6.200.0130.08018.22
5.6.190.0130.04320.48
5.6.180.3830.04020.33
5.6.170.0270.07720.42
5.6.160.0030.08720.41
5.6.150.0130.06718.16
5.6.140.0070.08318.21
5.6.130.0070.08718.11
5.6.120.0100.07721.02
5.6.110.0100.08720.98
5.6.100.0030.04020.95
5.6.90.0100.05720.97
5.6.80.0130.07320.52
5.6.70.4470.04320.38
5.5.350.0230.07720.39
5.5.340.0100.06717.96
5.5.330.0070.04720.20
5.5.320.0270.04320.29
5.5.310.0230.07720.29
5.5.300.0100.05017.92
5.5.290.0070.07317.98
5.5.280.0030.07320.68
5.5.270.0070.04320.79
5.5.260.0070.08720.86
5.5.250.0070.09020.68
5.5.240.0270.04020.23
5.4.450.0270.03319.41
5.4.440.0670.04719.45
5.4.430.0800.03719.10
5.4.420.0400.04019.45
5.4.410.0300.03719.08
5.4.400.1030.05019.19
5.4.390.0330.04319.25
5.4.380.0770.06018.66
5.4.370.0830.05018.56
5.4.360.0900.04718.68
5.4.350.0800.05018.60
5.4.340.0930.06318.48
5.4.320.0050.03712.45
5.4.310.0040.03912.45
5.4.300.0040.03812.45
5.4.290.0040.04012.45
5.4.280.0060.03412.35
5.4.270.0060.03512.35
5.4.260.0090.03312.34
5.4.250.0040.03912.35
5.4.240.0070.03412.34
5.4.230.0060.03612.34
5.4.220.0030.03812.34
5.4.210.0060.03412.34
5.4.200.0040.03912.34
5.4.190.0060.03612.33
5.4.180.0070.04312.33
5.4.170.0080.03312.34
5.4.160.0030.03712.34
5.4.150.0060.03512.34
5.4.140.0050.03812.02
5.4.130.0050.03712.01
5.4.120.0060.03411.97
5.4.110.0050.03511.96
5.4.100.0060.03411.96
5.4.90.0040.04511.96
5.4.80.0080.03411.96
5.4.70.0040.04311.96
5.4.60.0050.04011.96
5.4.50.0050.03511.96
5.4.40.0070.03311.95
5.4.30.0030.03811.95
5.4.20.0050.03511.95
5.4.10.0050.03511.95
5.4.00.0060.03611.44
5.3.290.0080.03912.80
5.3.280.0050.04012.71
5.3.270.0100.04912.72
5.3.260.0060.04412.72
5.3.250.0070.03812.72
5.3.240.0070.03512.72
5.3.230.0070.04112.71
5.3.220.0050.03812.68
5.3.210.0070.03712.68
5.3.200.0100.03612.68
5.3.190.0100.04412.68
5.3.180.0050.03812.67
5.3.170.0040.04212.67
5.3.160.0050.03712.67
5.3.150.0050.03812.67
5.3.140.0070.04612.66
5.3.130.0090.05012.66
5.3.120.0050.04212.66
5.3.110.0100.04012.66
5.3.100.0110.03912.12
5.3.90.0050.03912.09
5.3.80.0160.04212.08
5.3.70.0050.03812.07
5.3.60.0090.03412.06
5.3.50.0040.03812.00
5.3.40.0050.03712.00
5.3.30.0080.03511.95
5.3.20.0050.03611.73
5.3.10.0110.03111.70
5.3.00.0050.03611.69
5.2.170.0050.0309.19
5.2.160.0050.0289.19
5.2.150.0050.0309.19
5.2.140.0030.0319.18
5.2.130.0070.0269.14
5.2.120.0050.0279.14
5.2.110.0030.0309.16
5.2.100.0040.0299.15
5.2.90.0070.0269.15
5.2.80.0050.0299.14
5.2.70.0050.0299.15
5.2.60.0070.0279.11
5.2.50.0050.0309.07
5.2.40.0040.0299.05
5.2.30.0030.0309.02
5.2.20.0060.0279.01
5.2.10.0060.0268.91
5.2.00.0030.0308.78
5.1.60.0070.0208.06
5.1.50.0030.0268.05
5.1.40.0030.0248.04
5.1.30.0060.0238.39
5.1.20.0050.0248.41
5.1.10.0030.0268.14
5.1.00.0050.0248.13
5.0.50.0040.0206.61
5.0.40.0040.0186.47
5.0.30.0030.0326.29
5.0.20.0030.0276.26
5.0.10.0020.0216.23
5.0.00.0040.0296.23
4.4.90.0010.0174.78
4.4.80.0030.0144.75
4.4.70.0020.0164.75
4.4.60.0000.0184.76
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0020.0164.76
4.4.20.0040.0134.85
4.4.10.0020.0164.85
4.4.00.0030.0254.75
4.3.110.0010.0174.67
4.3.100.0040.0144.67
4.3.90.0040.0144.64
4.3.80.0010.0264.59
4.3.70.0030.0154.63
4.3.60.0020.0164.63
4.3.50.0030.0154.63
4.3.40.0040.0314.54
4.3.30.0000.0183.28
4.3.20.0020.0223.26
4.3.10.0040.0193.22
4.3.00.0070.01713.43

preferences:
41.9 ms | 401 KiB | 5 Q