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.40.0140.00718.81
8.3.30.0120.00318.96
8.3.20.0070.00020.20
8.3.10.0080.00023.66
8.3.00.0000.00819.21
8.2.170.0150.00022.96
8.2.160.0070.01020.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.38
8.2.110.0070.00321.12
8.2.100.0040.00817.72
8.2.90.0080.00017.75
8.2.80.0040.00418.73
8.2.70.0030.00617.93
8.2.60.0060.00318.04
8.2.50.0040.00418.10
8.2.40.0020.00520.42
8.2.30.0000.00819.28
8.2.20.0000.00717.70
8.2.10.0050.00218.00
8.2.00.0100.00017.76
8.1.270.0040.00423.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00422.08
8.1.230.0100.00322.70
8.1.220.0000.00818.55
8.1.210.0050.00318.77
8.1.200.0070.00417.35
8.1.190.0030.00517.10
8.1.180.0060.00318.10
8.1.170.0090.00018.57
8.1.160.0000.00722.20
8.1.150.0040.00418.63
8.1.140.0000.00717.27
8.1.130.0070.00017.84
8.1.120.0000.00817.41
8.1.110.0070.00017.37
8.1.100.0000.00717.39
8.1.90.0080.00017.45
8.1.80.0070.00317.29
8.1.70.0070.00017.38
8.1.60.0000.00817.55
8.1.50.0000.00817.43
8.1.40.0070.00317.49
8.1.30.0040.00417.66
8.1.20.0040.00417.61
8.1.10.0000.00717.54
8.1.00.0000.00717.50
8.0.300.0040.00419.90
8.0.290.0040.00416.63
8.0.280.0030.00418.37
8.0.270.0030.00317.18
8.0.260.0030.00317.14
8.0.250.0030.00316.99
8.0.240.0000.00716.95
8.0.230.0040.00416.92
8.0.220.0070.00016.81
8.0.210.0040.00416.90
8.0.200.0000.00716.86
8.0.190.0040.00416.85
8.0.180.0000.00716.77
8.0.170.0040.00416.79
8.0.160.0070.00016.87
8.0.150.0040.00416.71
8.0.140.0050.00316.71
8.0.130.0030.00313.23
8.0.120.0040.00416.86
8.0.110.0070.00016.76
8.0.100.0050.00316.81
8.0.90.0050.00216.67
8.0.80.0180.00416.75
8.0.70.0050.00216.66
8.0.60.0000.00716.88
8.0.50.0040.00416.65
8.0.30.0140.00517.07
8.0.20.0080.01017.40
8.0.10.0050.00317.06
8.0.00.0110.00617.01
7.4.330.0000.00515.00
7.4.320.0000.00616.39
7.4.300.0060.00016.60
7.4.290.0000.00716.60
7.4.280.0000.00816.51
7.4.270.0000.00716.50
7.4.260.0000.00716.60
7.4.250.0070.00016.46
7.4.240.0030.00516.49
7.4.230.0060.00316.59
7.4.220.0200.00316.46
7.4.210.0100.00716.65
7.4.200.0000.00716.61
7.4.190.0000.00716.56
7.4.160.0190.00316.38
7.4.150.0120.00617.40
7.4.140.0150.00517.86
7.4.130.0050.01316.52
7.4.120.0090.01216.59
7.4.110.0090.00816.36
7.4.100.0130.01016.65
7.4.90.0100.00716.43
7.4.80.0110.01119.39
7.4.70.0030.01416.68
7.4.60.0030.01516.28
7.4.50.0040.00416.50
7.4.40.0030.01316.54
7.4.30.0110.00616.43
7.4.00.0090.00814.96
7.3.330.0000.00613.10
7.3.320.0000.00613.31
7.3.310.0050.00316.24
7.3.300.0070.00016.11
7.3.290.0070.00716.21
7.3.280.0080.00916.25
7.3.270.0100.00717.40
7.3.260.0130.00316.53
7.3.250.0110.00916.31
7.3.240.0070.01116.36
7.3.230.0060.01016.39
7.3.210.0060.01016.61
7.3.200.0090.00919.39
7.3.190.0090.01216.48
7.3.180.0080.00816.29
7.3.170.0000.01916.35
7.3.160.0030.01216.49
7.3.120.0080.00715.02
7.3.110.0100.01014.68
7.3.100.0120.00614.87
7.3.90.0060.00915.00
7.3.80.0060.01014.61
7.3.70.0070.00314.68
7.3.60.0120.00314.86
7.3.50.0100.00314.78
7.3.40.0040.01114.60
7.3.30.0030.01014.88
7.3.20.0040.00816.47
7.3.10.0090.00816.45
7.3.00.0040.00816.41
7.2.330.0060.01216.82
7.2.320.0130.01016.55
7.2.310.0070.01516.32
7.2.300.0090.01316.66
7.2.290.0170.00716.70
7.2.250.0030.01314.88
7.2.240.0080.00814.93
7.2.230.0030.01015.18
7.2.220.0070.01014.84
7.2.210.0130.00615.31
7.2.200.0000.01314.91
7.2.190.0040.01415.01
7.2.180.0030.01015.10
7.2.170.0150.00314.76
7.2.160.0100.00314.93
7.2.150.0140.00016.70
7.2.140.0110.00416.99
7.2.130.0050.01016.92
7.2.120.0080.00716.87
7.2.110.0000.01516.80
7.2.100.0060.00616.67
7.2.90.0040.01116.88
7.2.80.0140.00216.69
7.2.70.0090.00516.53
7.2.60.0100.00316.73
7.2.50.0100.00716.70
7.2.40.0080.01016.66
7.2.30.0110.00516.77
7.2.20.0100.00716.79
7.2.10.0100.00816.88
7.2.00.0060.00717.67
7.1.330.0130.00615.68
7.1.320.0090.00915.47
7.1.310.0070.00715.97
7.1.300.0040.01115.83
7.1.290.0070.01015.80
7.1.280.0120.00315.81
7.1.270.0030.00715.75
7.1.260.0000.01515.77
7.1.250.0080.00315.80
7.1.240.0050.01015.67
7.1.230.0040.01115.70
7.1.220.0090.00315.64
7.1.210.0070.00915.72
7.1.200.0060.00615.76
7.1.190.0070.00715.67
7.1.180.0040.00915.47
7.1.170.0080.00715.76
7.1.160.0100.00615.71
7.1.150.0050.01115.63
7.1.140.0080.00515.61
7.1.130.0080.00715.62
7.1.120.0090.00315.62
7.1.110.0060.01015.73
7.1.100.0080.00516.25
7.1.90.0070.00715.59
7.1.80.0040.00715.63
7.1.70.0060.00916.04
7.1.60.0090.00916.94
7.1.50.0080.01015.95
7.1.40.0080.00415.73
7.1.30.0060.00715.71
7.1.20.0090.00515.70
7.1.10.0060.00615.49
7.1.00.0100.02617.90
7.0.330.0060.00815.12
7.0.320.0060.00415.20
7.0.310.0090.00815.16
7.0.300.0100.00615.23
7.0.290.0060.01215.35
7.0.280.0060.00615.23
7.0.270.0090.00515.20
7.0.260.0100.00215.18
7.0.250.0050.00814.85
7.0.240.0060.00615.29
7.0.230.0050.01015.21
7.0.220.0060.00815.10
7.0.210.0060.00815.34
7.0.200.0070.00515.78
7.0.190.0100.00414.95
7.0.180.0070.00615.41
7.0.170.0070.00815.26
7.0.160.0060.00915.40
7.0.150.0040.00815.15
7.0.140.0080.02417.39
7.0.130.0090.00615.28
7.0.120.0070.00515.31
7.0.110.0120.00315.04
7.0.100.0070.02916.66
7.0.90.0100.01916.78
7.0.80.0080.03116.62
7.0.70.0060.03116.85
7.0.60.0080.03216.63
7.0.50.0140.03216.91
7.0.40.0030.02315.51
7.0.30.0100.02915.42
7.0.20.0090.03315.57
7.0.10.0110.02515.51
7.0.00.0050.02715.56
5.6.400.0070.00714.51
5.6.390.0070.00714.57
5.6.380.0060.00814.17
5.6.370.0070.01014.50
5.6.360.0090.01214.00
5.6.350.0110.00714.30
5.6.340.0100.00414.13
5.6.330.0080.00814.20
5.6.320.0060.00914.15
5.6.310.0030.01114.00
5.6.300.0040.01114.24
5.6.290.0070.00714.07
5.6.280.0080.02616.42
5.6.270.0080.00514.04
5.6.260.0030.00814.27
5.6.250.0060.02716.33
5.6.240.0040.03116.20
5.6.230.0030.03516.26
5.6.220.0060.03216.29
5.6.210.0080.03316.46
5.6.200.0060.03516.43
5.6.190.0080.01916.41
5.6.180.0080.03016.31
5.6.170.0080.02116.38
5.6.160.0100.02516.38
5.6.150.0050.03616.32
5.6.140.0080.02916.40
5.6.130.0070.02216.37
5.6.120.0090.03216.57
5.6.110.0080.03016.45
5.6.100.0080.03216.35
5.6.90.0090.03016.27
5.6.80.0110.01816.13
5.6.70.0060.02016.15
5.6.60.0080.02116.17
5.6.50.0040.03316.27
5.6.40.0080.03216.00
5.6.30.0060.03416.29
5.6.20.0080.02916.10
5.6.10.0100.02716.14
5.6.00.0110.02916.00
5.5.380.0040.03415.14
5.5.370.0080.02215.22
5.5.360.0060.02115.24
5.5.350.0080.02915.31
5.5.340.0050.02215.54
5.5.330.0090.01715.37
5.5.320.0120.02715.44
5.5.310.0050.02215.51
5.5.300.0110.03015.29
5.5.290.0070.02415.31
5.5.280.0110.02915.38
5.5.270.0070.03115.42
5.5.260.0090.02515.37
5.5.250.0050.03815.26
5.5.240.0100.02615.16
5.5.230.0050.02215.14
5.5.220.0070.01614.96
5.5.210.0060.03215.07
5.5.200.0090.03015.04
5.5.190.0110.02815.15
5.5.180.0100.03115.01
5.5.170.0070.00512.60
5.5.160.0090.01815.21
5.5.150.0070.02915.06
5.5.140.0080.01615.15
5.5.130.0030.03215.08
5.5.120.0070.03214.77
5.5.110.0040.03515.07
5.5.100.0090.02014.91
5.5.90.0060.03015.06
5.5.80.0040.03314.99
5.5.70.0050.03114.96
5.5.60.0090.02914.98
5.5.50.0050.02514.98
5.5.40.0070.02714.92
5.5.30.0040.02814.92
5.5.20.0060.02214.99
5.5.10.0050.02615.03
5.5.00.0080.01714.87
5.4.450.0060.03113.76
5.4.440.0060.02913.66
5.4.430.0060.02513.80
5.4.420.0090.02813.82
5.4.410.0110.02213.56
5.4.400.0040.02613.68
5.4.390.0040.03113.58
5.4.380.0060.02913.62
5.4.370.0080.02613.58
5.4.360.0050.02913.58
5.4.350.0060.02713.44
5.4.340.0100.02313.42
5.4.330.0060.00510.88
5.4.320.0060.02713.48
5.4.310.0050.02913.60
5.4.300.0060.02213.59
5.4.290.0040.03013.59
5.4.280.0060.02713.50
5.4.270.0080.01713.46
5.4.260.0060.01813.58
5.4.250.0040.02913.42
5.4.240.0030.02313.53
5.4.230.0060.01413.54
5.4.220.0050.02713.50
5.4.210.0060.01713.52
5.4.200.0090.02213.59
5.4.190.0040.02413.72
5.4.180.0050.02913.69
5.4.170.0060.01613.63
5.4.160.0020.02713.49
5.4.150.0010.02113.61
5.4.140.0040.03012.59
5.4.130.0030.01812.56
5.4.120.0040.01612.66
5.4.110.0050.03012.60
5.4.100.0050.02812.83
5.4.90.0040.01812.87
5.4.80.0040.02112.72
5.4.70.0090.02612.58
5.4.60.0050.02712.50
5.4.50.0040.02712.67
5.4.40.0040.01712.76
5.4.30.0070.02312.58
5.4.20.0040.01612.60
5.4.10.0070.02212.56
5.4.00.0040.02312.50
5.3.290.0100.01512.04
5.3.280.0060.02711.93
5.3.270.0030.02211.84
5.3.260.0040.02711.87
5.3.250.0030.02011.85
5.3.240.0070.02711.92
5.3.230.0020.01811.96
5.3.220.0060.02611.90
5.3.210.0070.02511.88
5.3.200.0080.02111.87
5.3.190.0030.02211.88
5.3.180.0070.02811.93
5.3.170.0060.02611.93
5.3.160.0040.02711.97
5.3.150.0080.02411.98
5.3.140.0050.02511.92
5.3.130.0040.01511.93
5.3.120.0030.01811.93
5.3.110.0040.02711.99
5.3.100.0040.02711.72
5.3.90.0030.02811.73
5.3.80.0040.01611.73
5.3.70.0040.02911.66
5.3.60.0040.01811.82
5.3.50.0030.01911.65
5.3.40.0010.02911.70
5.3.30.0030.01811.70
5.3.20.0030.02611.57
5.3.10.0060.01811.47
5.3.00.0080.02611.54
5.2.170.0020.02310.89
5.2.160.0010.03310.89
5.2.150.0030.02310.89
5.2.140.0020.02110.89
5.2.130.0050.02310.89
5.2.120.0020.02910.89
5.2.110.0110.02810.89
5.2.100.0050.02410.89
5.2.90.0050.02110.89
5.2.80.0070.01810.89
5.2.70.0080.03310.89
5.2.60.0040.02110.89
5.2.50.0050.03210.89
5.2.40.0090.02610.89
5.2.30.0070.02810.89
5.2.20.0080.03010.89
5.2.10.0060.02610.89
5.2.00.0050.02610.89
5.1.60.0050.02810.89
5.1.50.0100.01810.89
5.1.40.0080.02310.89
5.1.30.0000.03210.89
5.1.20.0030.02610.89
5.1.10.0050.02210.89
5.1.00.0060.01710.89
5.0.50.0040.02210.89
5.0.40.0060.01810.89
5.0.30.0030.02410.89
5.0.20.0020.01210.89
5.0.10.0040.02310.89
5.0.00.0070.03010.89
4.4.90.0010.02010.89
4.4.80.0020.01910.89
4.4.70.0020.02010.89
4.4.60.0030.01510.89
4.4.50.0010.02010.89
4.4.40.0020.02410.89
4.4.30.0030.01210.89
4.4.20.0020.01210.89
4.4.10.0030.02010.89
4.4.00.0020.02010.89
4.3.110.0000.01710.89
4.3.100.0050.01510.89
4.3.90.0020.01110.89
4.3.80.0060.01810.89
4.3.70.0030.01310.89
4.3.60.0030.01610.89
4.3.50.0020.02210.89
4.3.40.0050.02210.89
4.3.30.0030.01810.89
4.3.20.0020.01410.89
4.3.10.0020.02010.89
4.3.00.0020.01810.89

preferences:
53.66 ms | 400 KiB | 5 Q