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 [^>]*>(.*)<\/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.0090.00618.20
8.3.50.0070.01322.90
8.3.40.0040.01218.97
8.3.30.0120.00318.82
8.3.20.0080.00020.42
8.3.10.0040.00423.66
8.3.00.0030.00519.50
8.2.180.0080.01118.54
8.2.170.0070.00722.96
8.2.160.0030.01020.43
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0060.01226.16
8.2.120.0040.00421.14
8.2.110.0030.00622.42
8.2.100.0120.00019.76
8.2.90.0050.00318.94
8.2.80.0040.00417.97
8.2.70.0070.00317.62
8.2.60.0030.00517.80
8.2.50.0030.00518.07
8.2.40.0040.00420.13
8.2.30.0030.00618.03
8.2.20.0080.00017.70
8.2.10.0040.00418.15
8.2.00.0000.00817.87
8.1.280.0140.00725.92
8.1.270.0110.00422.06
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0090.00023.96
8.1.230.0040.00819.16
8.1.220.0030.00517.79
8.1.210.0000.00818.77
8.1.200.0030.00717.34
8.1.190.0000.00817.22
8.1.180.0080.00018.10
8.1.170.0090.00418.27
8.1.160.0040.00421.91
8.1.150.0050.00318.77
8.1.140.0080.00017.54
8.1.130.0040.00417.73
8.1.120.0050.00217.58
8.1.110.0070.00017.45
8.1.100.0070.00017.52
8.1.90.0000.00717.49
8.1.80.0040.00417.52
8.1.70.0030.00317.50
8.1.60.0000.00817.63
8.1.50.0040.00417.64
8.1.40.0050.00517.52
8.1.30.0040.00417.79
8.1.20.0000.00717.74
8.1.10.0000.00717.66
8.1.00.0080.00017.58
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0030.00318.38
8.0.270.0020.00517.32
8.0.260.0000.00617.31
8.0.250.0070.00017.00
8.0.240.0040.00417.15
8.0.230.0050.00316.90
8.0.220.0040.00416.85
8.0.210.0000.00716.96
8.0.200.0030.00317.08
8.0.190.0000.00917.02
8.0.180.0000.00817.02
8.0.170.0000.00717.00
8.0.160.0000.00716.95
8.0.150.0040.00416.80
8.0.140.0030.00316.94
8.0.130.0050.00013.38
8.0.120.0030.00616.93
8.0.110.0080.00016.99
8.0.100.0080.00016.82
8.0.90.0000.00717.02
8.0.80.0070.01416.91
8.0.70.0070.00016.93
8.0.60.0040.00417.04
8.0.50.0000.00717.02
8.0.30.0140.00817.28
8.0.20.0070.01217.40
8.0.10.0040.00416.96
8.0.00.0080.01316.95
7.4.330.0000.00515.04
7.4.320.0000.00716.66
7.4.300.0030.00316.72
7.4.290.0040.00416.58
7.4.280.0000.00716.64
7.4.270.0050.00216.65
7.4.260.0030.00316.75
7.4.250.0040.00416.61
7.4.240.0050.00216.73
7.4.230.0040.00416.56
7.4.220.0100.01316.67
7.4.210.0070.00716.74
7.4.200.0030.00516.66
7.4.160.0120.00316.58
7.4.150.0110.00717.40
7.4.140.0160.00617.86
7.4.130.0050.01216.58
7.4.120.0080.01016.69
7.4.110.0060.01216.71
7.4.100.0070.01516.63
7.4.90.0060.01116.75
7.4.80.0090.01319.39
7.4.70.0090.00916.63
7.4.60.0030.01316.49
7.4.50.0040.00416.63
7.4.40.0140.00416.51
7.4.30.0090.00916.61
7.4.00.0070.01015.32
7.3.330.0000.00613.08
7.3.320.0000.00513.21
7.3.310.0030.00316.42
7.3.300.0000.00716.25
7.3.290.0150.00316.40
7.3.280.0070.01116.33
7.3.270.0120.00617.40
7.3.260.0120.00616.39
7.3.250.0080.00816.58
7.3.240.0150.00616.46
7.3.230.0110.00516.74
7.3.210.0100.00716.61
7.3.200.0140.00316.45
7.3.190.0120.00916.69
7.3.180.0090.00616.57
7.3.170.0070.01016.68
7.3.160.0130.00316.53
7.3.10.0050.00816.46
7.3.00.0060.00816.45
7.2.330.0090.00916.77
7.2.320.0130.00316.67
7.2.310.0170.00716.60
7.2.300.0170.00816.75
7.2.290.0060.01616.70
7.2.130.0090.00816.75
7.2.120.0100.01116.86
7.2.110.0130.00416.91
7.2.100.0100.00816.77
7.2.90.0060.01416.66
7.2.80.0090.01016.58
7.2.70.0160.01016.73
7.2.60.0090.00916.65
7.2.50.0150.00716.75
7.2.40.0080.00916.99
7.2.30.0080.00716.61
7.2.20.0190.00516.85
7.2.10.0070.01016.84
7.2.00.0090.01317.91
7.1.250.0130.00715.77
7.1.200.0060.00915.96
7.1.100.0040.00818.41
7.1.70.0000.01317.44
7.1.60.0100.01419.40
7.1.50.0130.01017.20
7.1.00.0070.07022.35
7.0.200.0340.00314.86
7.0.140.0000.07722.10
7.0.60.0030.06719.93
7.0.50.0070.08017.75
7.0.40.0030.05320.02
7.0.30.0500.05720.02
7.0.20.0330.07720.20
7.0.10.0100.08320.34
7.0.00.0070.09320.05
5.6.280.0030.07321.13
5.6.210.0070.03720.55
5.6.200.0130.07018.23
5.6.190.0100.05020.26
5.6.180.4000.04320.57
5.6.170.0330.07020.48
5.6.160.0070.09020.46
5.6.150.0030.06018.19
5.6.140.0170.07018.11
5.6.130.0070.08018.13
5.6.120.0130.08021.01
5.6.110.0030.05720.89
5.6.100.0130.06021.03
5.6.90.0100.04021.01
5.6.80.0000.08720.48
5.5.350.0270.06020.29
5.5.340.0000.04017.88
5.5.330.0070.06020.14
5.5.320.0430.05020.21
5.5.310.0170.04720.20
5.5.300.0030.08717.91
5.5.290.0100.07717.90
5.5.280.0130.05320.78
5.5.270.0170.06020.79
5.5.260.0070.06020.79
5.5.250.0170.06320.54
5.5.240.3500.03720.15
5.4.450.0270.04719.07
5.4.440.0230.03719.21
5.4.430.0200.03719.58
5.4.420.0270.03019.25
5.4.410.0200.04719.36
5.4.400.0130.04019.22
5.4.390.0170.04018.89
5.4.380.0070.03718.89
5.4.370.0270.05019.16
5.4.360.0130.04019.13
5.4.350.0200.03019.09
5.4.340.0230.05719.13
5.4.320.0200.03319.13
5.4.310.0200.04019.24
5.4.300.0200.07319.14
5.4.290.0200.04319.09
5.4.280.0230.04319.24
5.4.270.0270.07019.04
5.4.260.0170.04319.09
5.4.250.0170.05019.24
5.4.240.0270.03719.11
5.4.230.0200.03319.08
5.4.220.0100.05318.91
5.4.210.0330.06318.77
5.4.200.0170.04318.92
5.4.190.0230.06319.23
5.4.180.0230.04019.07
5.4.170.0100.08019.08
5.4.160.0130.05019.21
5.4.150.0200.07019.06
5.4.140.0230.06716.27
5.4.130.0200.06016.42
5.4.120.0200.06316.25
5.4.110.0270.05316.18
5.4.100.0130.04716.40
5.4.90.0230.06716.06
5.4.80.0030.04316.29
5.4.70.0070.06716.44
5.4.60.1100.05016.40
5.4.50.2630.04016.36
5.4.40.2670.03716.17
5.4.30.2270.04016.36
5.4.20.2470.04016.40
5.4.10.2670.03716.39
5.4.00.2770.02015.77
5.3.290.2700.03714.65
5.3.280.2630.04714.43
5.3.270.2570.03314.55
5.3.260.2730.04014.65
5.3.250.2600.04014.51
5.3.240.2470.04014.54
5.3.230.2930.03714.64
5.3.220.2870.03014.50
5.3.210.2530.03314.42
5.3.200.2770.03714.66
5.3.190.2970.03014.51
5.3.180.2870.03714.65
5.3.170.2900.03714.40
5.3.160.2630.04014.41
5.3.150.2830.04714.41
5.3.140.2800.03714.39
5.3.130.2630.04014.38
5.3.120.3070.04314.45
5.3.110.3070.04314.49
5.3.100.2970.04313.88
5.3.90.2800.03713.97
5.3.80.2730.04313.96
5.3.70.2830.04014.03
5.3.60.2600.03313.94
5.3.50.2930.04013.78
5.3.40.3070.03313.82
5.3.30.2830.03713.75
5.3.20.2730.04013.79
5.3.10.2570.03313.77
5.3.00.3400.02313.59
5.2.170.2230.04011.30
5.2.160.2330.03011.30
5.2.150.2100.03311.30
5.2.140.2370.03010.99
5.2.130.2430.03010.95
5.2.120.2230.03010.94
5.2.110.2430.02710.95
5.2.100.2230.03011.26
5.2.90.2430.02711.15
5.2.80.2130.03010.94
5.2.70.2170.02710.94
5.2.60.2100.03010.98
5.2.50.2430.02710.95
5.2.40.1730.02710.90
5.2.30.1530.02711.13
5.2.20.1700.03010.86
5.2.10.1930.03310.96
5.2.00.1830.02310.61
5.1.60.1800.0209.89
5.1.50.0730.02010.00
5.1.40.0000.0239.84
5.1.30.0030.02310.34
5.1.20.0000.02710.27
5.1.10.1200.02310.15
5.1.00.1370.0239.96
5.0.50.0730.0208.52
5.0.40.0830.0238.49
5.0.30.0830.0338.39
5.0.20.0900.0208.39
5.0.10.0930.0208.39
5.0.00.0870.0278.39
4.4.90.0670.0108.39
4.4.80.1000.0208.39
4.4.70.0930.0138.39
4.4.60.0900.0138.39
4.4.50.1130.0138.39
4.4.40.0870.0278.39
4.4.30.0870.0138.39
4.4.20.0730.0178.39
4.4.10.0730.0238.39
4.4.00.0800.0278.39
4.3.110.0900.0138.39
4.3.100.1030.0178.39
4.3.90.0830.0178.39
4.3.80.0870.0238.39
4.3.70.0630.0178.39
4.3.60.0670.0178.39
4.3.50.0900.0138.39
4.3.40.0830.0308.39
4.3.30.0330.0178.39
4.3.20.0400.0178.39
4.3.10.0470.0138.39
4.3.00.0500.0208.39

preferences:
40.76 ms | 400 KiB | 5 Q