3v4l.org

run code in 300+ PHP versions simultaneously
<?php function sTAGS($textNt, $prm) { $textSt = strip_tags($textNt, $prm); $text = trim($textSt); //echo htmlentities($text); //echo htmlentities($text, ENT_QUOTES); echo html_entity_decode($text); } $txt = ' <p>Test-Absatz.</p><a href="# fragment">Anderer Text</a>'; sTAGS($txt, ""); ?>

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.0100.01018.31
8.3.50.0120.00322.12
8.3.40.0140.00018.68
8.3.30.0000.01419.09
8.3.20.0080.00020.34
8.3.10.0040.00423.71
8.3.00.0000.01120.83
8.2.180.0140.00718.54
8.2.170.0090.00922.96
8.2.160.0100.01020.37
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00420.41
8.2.110.0070.00322.24
8.2.100.0080.00318.09
8.2.90.0050.00519.17
8.2.80.0050.00317.97
8.2.70.0090.00017.63
8.2.60.0030.00517.80
8.2.50.0040.00418.07
8.2.40.0040.00419.95
8.2.30.0040.00418.29
8.2.20.0040.00417.57
8.2.10.0000.00718.05
8.2.00.0060.00317.56
8.1.280.0110.01125.92
8.1.270.0040.00423.96
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0090.00023.79
8.1.230.0070.00319.08
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00817.23
8.1.190.0000.00817.22
8.1.180.0000.00819.01
8.1.170.0050.00318.43
8.1.160.0000.00722.00
8.1.150.0000.00818.58
8.1.140.0070.00017.39
8.1.130.0030.00517.79
8.1.120.0070.00017.31
8.1.110.0020.00517.25
8.1.100.0040.00417.42
8.1.90.0050.00217.29
8.1.80.0100.00017.39
8.1.70.0000.00717.29
8.1.60.0030.00517.48
8.1.50.0000.00817.48
8.1.40.0070.00317.57
8.1.30.0060.00317.48
8.1.20.0040.00417.62
8.1.10.0000.00817.41
8.1.00.0050.00217.54
8.0.300.0070.00018.77
8.0.290.0030.00317.18
8.0.280.0030.00318.45
8.0.270.0000.00817.37
8.0.260.0000.00617.25
8.0.250.0040.00416.90
8.0.240.0000.00716.86
8.0.230.0030.00316.90
8.0.220.0030.00316.77
8.0.210.0040.00416.80
8.0.200.0000.00816.90
8.0.190.0080.00016.77
8.0.180.0000.00716.86
8.0.170.0040.00416.76
8.0.160.0030.00316.84
8.0.150.0070.00016.75
8.0.140.0070.00016.65
8.0.130.0030.00313.19
8.0.120.0000.00816.80
8.0.110.0000.00716.87
8.0.100.0090.00016.77
8.0.90.0040.00416.89
8.0.80.0000.01716.90
8.0.70.0070.00016.82
8.0.60.0000.00716.75
8.0.50.0040.00416.66
8.0.30.0030.01516.92
8.0.20.0060.01217.40
8.0.10.0040.00416.82
8.0.00.0040.01316.61
7.4.330.0050.00015.00
7.4.320.0070.00016.55
7.4.300.0000.00716.53
7.4.290.0030.00316.53
7.4.280.0030.00616.52
7.4.270.0030.00316.60
7.4.260.0040.00416.63
7.4.250.0040.00416.43
7.4.240.0000.00716.51
7.4.230.0030.00316.44
7.4.220.0150.01116.63
7.4.210.0090.00816.58
7.4.200.0040.00416.58
7.4.190.0050.00216.62
7.4.160.0120.00916.33
7.4.150.0030.02017.40
7.4.140.0120.00917.86
7.4.130.0070.01216.52
7.4.120.0100.00816.57
7.4.110.0130.00316.48
7.4.100.0110.01116.55
7.4.90.0050.01416.68
7.4.80.0100.01019.39
7.4.70.0070.00716.50
7.4.60.0030.02016.37
7.4.50.0040.00416.43
7.4.40.0190.00316.53
7.4.30.0110.01116.41
7.4.00.0040.01215.12
7.3.330.0020.00213.21
7.3.320.0000.00513.06
7.3.310.0070.00016.22
7.3.300.0000.00616.23
7.3.290.0120.00416.23
7.3.280.0070.01016.24
7.3.270.0040.01317.40
7.3.260.0090.00916.23
7.3.250.0110.00616.58
7.3.240.0060.01216.48
7.3.230.0100.00716.39
7.3.210.0070.01016.19
7.3.200.0100.01019.39
7.3.190.0110.00716.28
7.3.180.0050.01116.48
7.3.170.0130.00616.49
7.3.160.0090.00616.60
7.3.120.0070.00714.96
7.2.330.0060.01216.35
7.2.320.0070.01616.66
7.2.310.0090.00916.36
7.2.300.0090.00616.74
7.2.290.0120.01216.46
7.2.60.0060.00616.74
7.2.00.0040.01119.23
7.1.200.0030.01015.71
7.1.100.0110.01118.14
7.1.70.0030.01017.04
7.1.60.0110.01419.46
7.1.50.0100.01316.94
7.1.00.0130.06722.45
7.0.200.0060.00316.69
7.0.140.0000.07722.05
7.0.100.0130.07319.88
7.0.90.0070.07719.93
7.0.80.0400.05719.84
7.0.70.0300.07319.84
7.0.60.0130.04719.93
7.0.50.0030.06020.39
7.0.40.0070.04319.95
7.0.30.0030.04320.14
7.0.20.0000.04720.05
7.0.10.0030.04320.13
7.0.00.0100.03720.13
5.6.280.0070.07020.81
5.6.250.0100.08320.66
5.6.240.0130.06720.45
5.6.230.0070.07320.63
5.6.220.0130.07320.54
5.6.210.0100.07320.72
5.6.200.0070.04020.98
5.6.190.0100.03721.02
5.6.180.0100.03721.14
5.6.170.0070.03320.95
5.6.160.0070.03721.11
5.6.150.0100.04021.02
5.6.140.0000.07021.11
5.6.130.0100.04721.18
5.6.120.0030.08321.08
5.6.110.0030.05021.13
5.6.100.0070.03720.99
5.6.90.0000.04721.12
5.6.80.0030.07020.43
5.6.70.0070.04720.32
5.6.60.0130.03020.42
5.6.50.0000.04320.43
5.6.40.0100.04020.32
5.6.30.0030.03320.41
5.6.20.0000.04720.40
5.6.10.0070.03720.40
5.6.00.0000.04320.52
5.5.380.0100.07720.41
5.5.370.0070.08020.36
5.5.360.0100.08320.48
5.5.350.0070.08020.41
5.5.340.0070.07020.88
5.5.330.0070.04020.83
5.5.320.0070.03720.64
5.5.310.0030.04020.83
5.5.300.0030.04020.92
5.5.290.0000.05020.64
5.5.280.0100.07720.87
5.5.270.0130.03320.91
5.5.260.0030.09020.82
5.5.250.0100.04320.57
5.5.240.0000.04720.24
5.5.230.0100.03320.27
5.5.220.0000.04720.28
5.5.210.0000.04320.02
5.5.200.0030.04020.16
5.5.190.0070.03720.12
5.5.180.0000.04320.21
5.5.160.0000.04020.24
5.5.150.0100.03320.15
5.5.140.0100.03020.15
5.5.130.0000.04320.25
5.5.120.0100.03320.17
5.5.110.0030.04020.27
5.5.100.0030.04320.11
5.5.90.0100.03020.10
5.5.80.0070.03720.17
5.5.70.0030.05720.12
5.5.60.0100.03320.08
5.5.50.0070.03720.14
5.5.40.0200.06720.08
5.5.30.0030.03720.05
5.5.20.0070.08320.13
5.5.10.0030.08019.98
5.5.00.0070.07720.05
5.4.450.0100.08319.35
5.4.440.0100.07319.37
5.4.430.0030.03719.38
5.4.420.0030.04319.20
5.4.410.0030.03719.22
5.4.400.0000.04019.05
5.4.390.0070.06719.22
5.4.380.0000.04018.88
5.4.370.0030.03719.02
5.4.360.0030.03719.16
5.4.350.0100.03019.16
5.4.340.0100.03319.05
5.4.320.0070.04018.86
5.4.310.0030.03719.13
5.4.300.0000.03719.17
5.4.290.0100.03019.04
5.4.280.0130.03018.99
5.4.270.0000.04018.95
5.4.260.0070.03319.16
5.4.250.0030.03719.15
5.4.240.0070.04019.12
5.4.230.0130.02719.12
5.4.220.0070.04319.12
5.4.210.0030.03719.21
5.4.200.0070.03719.01
5.4.190.0030.07718.86
5.4.180.0070.06319.02
5.4.170.0030.07019.01
5.4.160.0230.05719.12
5.4.150.0100.06719.02
5.4.140.0030.05016.35
5.4.130.0070.07016.36
5.4.120.0070.03316.19
5.4.110.0030.04016.38
5.4.100.0070.05316.53
5.4.90.0100.06716.51
5.4.80.0000.08016.31
5.4.70.0030.07016.49
5.4.60.0100.06716.47
5.4.50.0100.06016.30
5.4.40.0030.06016.49
5.4.30.0030.05716.45
5.4.20.0170.06016.43
5.4.10.0030.07716.47
5.4.00.0130.04715.80
5.3.290.0070.03314.69
5.3.280.0070.06314.54
5.3.270.0100.03714.65
5.3.260.0070.06714.59
5.3.250.0030.06714.66
5.3.240.0070.04314.67
5.3.230.0100.06714.57
5.3.220.0070.07014.51
5.3.210.0000.07714.67
5.3.200.0000.04014.50
5.3.190.0130.06714.49
5.3.180.0070.07014.62
5.3.170.0100.07314.51
5.3.160.0030.04014.65
5.3.150.0100.06714.54
5.3.140.0030.07314.57
5.3.130.0070.06014.55
5.3.120.0170.03014.48
5.3.110.0130.07014.66
5.3.100.0070.07314.02
5.3.90.0000.07713.97
5.3.80.0070.07714.07
5.3.70.0100.07014.00
5.3.60.0070.08014.01
5.3.50.0130.07013.87
5.3.40.0100.07014.00
5.3.30.0100.07013.83
5.3.20.0030.06713.67
5.3.10.0070.06313.59
5.3.00.0070.07313.61
5.2.170.0030.05711.20
5.2.160.0030.06711.25
5.2.150.0030.06711.15
5.2.140.0070.04311.02
5.2.130.0070.05311.03
5.2.120.0000.05311.04
5.2.110.0070.06011.01
5.2.100.0030.03311.15
5.2.90.0030.05711.15
5.2.80.0030.06011.00
5.2.70.0100.03011.00
5.2.60.0070.06011.07
5.2.50.0030.05311.03
5.2.40.0030.05711.05
5.2.30.0030.06010.96
5.2.20.0070.05711.02
5.2.10.0070.05710.72
5.2.00.0030.04010.85
5.1.60.0070.04310.07
5.1.50.0000.05010.07
5.1.40.0070.03310.07
5.1.30.0100.02310.36
5.1.20.0130.05010.28
5.1.10.0070.04310.05
5.1.00.0000.0479.91
5.0.50.0070.0408.67
5.0.40.0070.0208.51
5.0.30.0030.0338.25
5.0.20.0070.0408.26
5.0.10.0130.0338.29
5.0.00.0000.0508.28
4.4.90.0070.0207.79
4.4.80.0000.0277.79
4.4.70.0000.0377.79
4.4.60.0030.0337.79
4.4.50.0070.0277.79
4.4.40.0070.0507.79
4.4.30.0070.0337.79
4.4.20.0030.0377.79
4.4.10.0070.0277.79
4.4.00.0070.0407.79
4.3.110.0000.0337.79
4.3.100.0030.0337.79
4.3.90.0000.0307.79
4.3.80.0000.0537.79
4.3.70.0070.0307.79
4.3.60.0070.0237.79
4.3.50.0030.0307.79
4.3.40.0070.0237.79
4.3.30.0030.0337.79
4.3.20.0000.0337.79
4.3.10.0000.0377.79
4.3.00.0000.0377.79

preferences:
56.52 ms | 401 KiB | 5 Q