3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '<a href="http://www.someplace.com" style="313123">link</a> <others>stuff</others>'; echo strip_tags($text,"<a>");

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.0070.01518.31
8.3.50.0100.00821.88
8.3.40.0090.00918.79
8.3.30.0090.00619.01
8.3.20.0000.00820.25
8.3.10.0040.00422.04
8.3.00.0040.00422.45
8.2.180.0090.01216.75
8.2.170.0110.00422.96
8.2.160.0100.00320.93
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0080.00017.62
8.2.110.0080.00022.11
8.2.100.0000.01217.91
8.2.90.0090.00019.18
8.2.80.0080.00019.77
8.2.70.0090.00017.63
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0040.00418.16
8.2.30.0000.00717.98
8.2.20.0050.00217.64
8.2.10.0040.00417.48
8.2.00.0040.00417.61
8.1.280.0140.00325.92
8.1.270.0050.00322.14
8.1.260.0070.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00623.84
8.1.230.0110.00018.85
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0030.00618.44
8.1.160.0080.00021.94
8.1.150.0000.00718.68
8.1.140.0000.00717.30
8.1.130.0000.00717.82
8.1.120.0000.00817.30
8.1.110.0080.00017.27
8.1.100.0050.00317.38
8.1.90.0060.00317.35
8.1.80.0070.00017.34
8.1.70.0030.00317.25
8.1.60.0040.00417.42
8.1.50.0000.00717.45
8.1.40.0070.00017.45
8.1.30.0040.00417.46
8.1.20.0000.00817.62
8.1.10.0040.00417.57
8.1.00.0000.00717.45
8.0.300.0020.00518.77
8.0.290.0070.00017.18
8.0.280.0000.00718.36
8.0.270.0050.00217.21
8.0.260.0030.00516.69
8.0.250.0000.00717.02
8.0.240.0060.00316.95
8.0.230.0000.00716.86
8.0.220.0030.00316.74
8.0.210.0030.00316.71
8.0.200.0050.00216.85
8.0.190.0080.00016.77
8.0.180.0040.00416.82
8.0.170.0000.00916.82
8.0.160.0050.00216.70
8.0.150.0030.00916.79
8.0.140.0090.00016.69
8.0.130.0030.00313.29
8.0.120.0080.00016.77
8.0.110.0050.00316.68
8.0.100.0000.00816.64
8.0.90.0040.00416.73
8.0.80.0110.00716.85
8.0.70.0040.00416.77
8.0.60.0000.00716.88
8.0.50.0040.00416.88
8.0.30.0090.01016.95
8.0.20.0070.01417.40
8.0.10.0000.00716.76
8.0.00.0090.01116.66
7.4.330.0060.00015.02
7.4.320.0030.00316.52
7.4.300.0060.00016.35
7.4.290.0030.00316.52
7.4.280.0000.00716.36
7.4.270.0000.00716.40
7.4.260.0050.00216.47
7.4.250.0030.00516.48
7.4.240.0050.00316.48
7.4.230.0040.00416.51
7.4.220.0110.00716.54
7.4.210.0080.00916.54
7.4.200.0070.00016.55
7.4.190.0070.00016.58
7.4.160.0090.00616.38
7.4.150.0000.01817.40
7.4.140.0120.00917.86
7.4.130.0050.01516.40
7.4.120.0090.00816.37
7.4.110.0040.01416.59
7.4.100.0100.00616.52
7.4.90.0040.01416.32
7.4.80.0060.01119.39
7.4.70.0100.00616.46
7.4.60.0070.01016.25
7.4.50.0030.00516.35
7.4.40.0000.01222.77
7.4.30.0060.00916.32
7.4.00.0040.01114.73
7.3.330.0000.00613.05
7.3.320.0000.00513.01
7.3.310.0040.00416.20
7.3.300.0040.00416.13
7.3.290.0060.01316.09
7.3.280.0100.00716.11
7.3.270.0070.01717.40
7.3.260.0210.00316.29
7.3.250.0060.01316.44
7.3.240.0100.00716.12
7.3.230.0050.01116.39
7.3.210.0030.01316.45
7.3.200.0120.01319.39
7.3.190.0100.00616.12
7.3.180.0090.00616.45
7.3.170.0120.00916.27
7.3.160.0120.00416.12
7.3.120.0070.01014.61
7.2.330.0060.01316.59
7.2.320.0110.01116.44
7.2.310.0110.00716.68
7.2.300.0110.00516.52
7.2.290.0110.00616.62
7.2.00.0030.00919.18
7.1.200.0000.01415.66
7.1.100.0050.00518.30
7.1.70.0030.01016.99
7.1.60.0090.01619.82
7.1.50.0120.00916.80
7.1.00.0070.07322.31
7.0.200.0070.00316.77
7.0.140.0070.07022.18
7.0.80.0530.06719.91
7.0.70.0570.08319.89
7.0.60.0500.04319.97
7.0.50.0600.04720.16
7.0.40.0230.07019.96
7.0.30.0130.06720.15
7.0.20.0100.04320.10
7.0.10.0030.08720.10
7.0.00.0130.07320.16
5.6.280.0100.06021.06
5.6.230.0070.08020.74
5.6.220.0130.07720.65
5.6.210.0170.07720.65
5.6.200.0130.07320.95
5.6.190.0030.08021.04
5.6.180.0030.05721.16
5.6.170.0100.08021.03
5.6.160.0070.06321.16
5.6.150.0100.05321.07
5.6.140.0000.08321.10
5.6.130.0100.04321.09
5.6.120.0130.07720.95
5.6.110.0100.08021.00
5.6.100.0200.07321.09
5.6.90.0030.09021.07
5.6.80.0000.08320.41
5.6.70.0130.06320.39
5.6.60.0070.06720.47
5.6.50.0070.04320.41
5.6.40.0030.04020.41
5.6.30.0000.04720.46
5.6.20.0130.02720.28
5.6.10.0030.04020.37
5.6.00.0000.04320.46
5.5.370.0070.07320.34
5.5.360.0100.08320.33
5.5.350.0170.03720.41
5.5.340.0130.07320.79
5.5.330.0100.08020.62
5.5.320.0170.07320.75
5.5.310.0200.06720.77
5.5.300.0000.09020.72
5.5.290.0100.08020.75
5.5.280.0070.05020.72
5.5.270.0070.08720.86
5.5.260.0030.08720.90
5.5.250.0170.08020.66
5.5.240.0070.04320.15
5.5.230.0030.04720.01
5.5.220.0070.04320.26
5.5.210.0000.04320.24
5.5.200.0070.03720.13
5.5.190.0030.04020.26
5.5.180.0070.03720.21
5.5.160.0070.03720.20
5.5.150.0030.05320.10
5.5.140.0100.07020.21
5.5.130.0000.04320.20
5.5.120.0000.04020.11
5.5.110.0030.04320.07
5.5.100.0000.07320.01
5.5.90.0030.07320.11
5.5.80.0000.05020.01
5.5.70.0130.05720.15
5.5.60.0070.03720.05
5.5.50.0000.04020.05
5.5.40.0030.03720.13
5.5.30.0100.03020.13
5.5.20.0100.06320.08
5.5.10.0030.04020.07
5.5.00.0000.03720.11
5.4.450.0100.07319.35
5.4.440.0030.08319.11
5.4.430.0070.05319.35
5.4.420.0000.08319.45
5.4.410.0100.05019.36
5.4.400.0100.03719.06
5.4.390.0070.05319.04
5.4.380.0100.06319.03
5.4.370.0030.04018.90
5.4.360.0000.04319.13
5.4.350.0030.03719.09
5.4.340.0000.04019.05
5.4.320.0030.03318.81
5.4.310.0030.03718.95
5.4.300.0100.04018.96
5.4.290.0030.06018.89
5.4.280.0070.03319.22
5.4.270.0030.03718.97
5.4.260.0030.03319.12
5.4.250.0030.03719.07
5.4.240.0030.03719.02
5.4.230.0000.04019.22
5.4.220.0030.03318.89
5.4.210.0000.04018.78
5.4.200.0130.02718.80
5.4.190.0070.03018.77
5.4.180.0100.02719.24
5.4.170.0070.06019.13
5.4.160.0030.07318.79
5.4.150.0000.06019.10
5.4.140.0000.04016.27
5.4.130.0070.04016.28
5.4.120.0000.03316.27
5.4.110.0030.07316.22
5.4.100.0130.05016.30
5.4.90.0070.03316.30
5.4.80.0030.06016.29
5.4.70.0000.03716.43
5.4.60.0000.03716.29
5.4.50.0030.03016.18
5.4.40.0000.03716.26
5.4.30.0000.03716.22
5.4.20.0100.07016.23
5.4.10.0100.03716.17
5.4.00.0130.07015.56
5.3.290.0000.04014.48
5.3.280.0100.06014.59
5.3.270.0000.04014.46
5.3.260.0000.03714.61
5.3.250.0000.05014.51
5.3.240.0100.02714.55
5.3.230.0000.04014.58
5.3.220.0100.02714.54
5.3.210.0030.04014.54
5.3.200.0030.03314.57
5.3.190.0000.03714.57
5.3.180.0000.04014.49
5.3.170.0030.07014.54
5.3.160.0030.03714.48
5.3.150.0070.03314.52
5.3.140.0000.04014.54
5.3.130.0030.03714.36
5.3.120.0030.06014.40
5.3.110.0100.08014.50
5.3.100.0070.08013.89
5.3.90.0170.06313.83
5.3.80.0070.04014.01
5.3.70.0030.03714.02
5.3.60.0030.04313.75
5.3.50.0100.07013.91
5.3.40.0030.04013.88
5.3.30.0030.07013.76
5.3.20.0070.07013.46
5.3.10.0070.06313.64
5.3.00.0100.04713.62
5.2.170.0000.04712.11
5.2.160.0100.03312.11
5.2.150.0100.02312.11
5.2.140.0170.05012.11
5.2.130.0130.05012.11
5.2.120.0070.06312.11
5.2.110.0100.06012.11
5.2.100.0070.06312.11
5.2.90.0000.06712.11
5.2.80.0070.03312.11
5.2.70.0100.06012.11
5.2.60.0100.03012.11
5.2.50.0100.05712.11
5.2.40.0070.04712.11
5.2.30.0100.03712.11
5.2.20.0070.06012.11
5.2.10.0000.06312.11
5.2.00.0100.02712.11
5.1.60.0000.03712.11
5.1.50.0070.04012.11
5.1.40.0000.03012.11
5.1.30.0030.03712.11
5.1.20.0070.04012.11
5.1.10.0000.05712.11
5.1.00.0100.05312.11
5.0.50.0070.04012.11
5.0.40.0030.04312.11
5.0.30.0030.06712.11
5.0.20.0000.04312.11
5.0.10.0100.03712.11
5.0.00.0000.05012.11
4.4.90.0000.03312.11
4.4.80.0070.03012.11
4.4.70.0030.02012.11
4.4.60.0000.03312.11
4.4.50.0000.02012.11
4.4.40.0000.05712.11
4.4.30.0030.02012.11
4.4.20.0000.02312.11
4.4.10.0030.03012.11
4.4.00.0070.05012.11
4.3.110.0100.02712.11
4.3.100.0030.03712.11
4.3.90.0100.01712.11
4.3.80.0070.03012.11
4.3.70.0030.03312.11
4.3.60.0000.03712.11
4.3.50.0100.02712.11
4.3.40.0030.03712.11
4.3.30.0030.03312.11
4.3.20.0000.03312.11
4.3.10.0030.03012.11
4.3.00.0030.03312.11

preferences:
43.2 ms | 401 KiB | 5 Q