3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function sTAGS($text) { echo strip_tags($text); } $txt = '<p>Test-Absatz.</p><!-- Kommentar --> <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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.60.0110.00316.84
7.2.00.0040.01219.43
7.1.200.0040.00415.76
7.1.100.0130.00317.95
7.1.70.0000.01117.27
7.1.60.0070.01719.46
7.1.50.0100.01316.99
7.1.00.0030.07722.48
7.0.200.0040.00416.85
7.0.140.0070.07021.98
7.0.60.0030.05719.99
7.0.50.0130.07017.86
7.0.40.0100.05020.24
7.0.30.0270.04020.10
7.0.20.0200.04720.20
7.0.10.0030.04720.26
7.0.00.0070.09020.16
5.6.280.0030.07020.86
5.6.210.0130.06720.67
5.6.200.0070.06018.15
5.6.190.0070.08720.48
5.6.180.0170.04320.61
5.6.170.0300.07020.55
5.6.160.0170.07720.57
5.6.150.0030.08318.20
5.6.140.0070.04718.15
5.6.130.0070.06718.25
5.6.120.0030.05021.15
5.6.110.0170.07321.14
5.6.100.0030.08721.14
5.6.90.0000.09320.98
5.6.80.0000.04320.39
5.5.350.0300.07320.49
5.5.340.0000.04018.08
5.5.330.0130.06320.31
5.5.320.0030.08320.24
5.5.310.0230.08020.32
5.5.300.0070.05718.02
5.5.290.0130.05318.03
5.5.280.0100.04020.80
5.5.270.0200.07020.96
5.5.260.0100.08320.89
5.5.250.0000.04320.56
5.5.240.0000.08020.29
5.4.450.0030.04319.52
5.4.440.0070.03719.52
5.4.430.0830.04019.16
5.4.420.1970.04719.16
5.4.410.2030.04019.34
5.4.400.1900.03319.19
5.4.390.2230.03719.34
5.4.380.1930.03719.21
5.4.370.1930.03019.07
5.4.360.1900.03719.09
5.4.350.1830.04019.23
5.4.340.1230.04019.09
5.4.320.0070.03719.20
5.4.310.0030.03719.24
5.4.300.1330.04019.21
5.4.290.1900.04318.97
5.4.280.1930.03318.99
5.4.270.2000.04019.13
5.4.260.1970.04019.14
5.4.250.1930.05019.16
5.4.240.1870.04318.94
5.4.230.1800.04019.05
5.4.220.1830.04319.12
5.4.210.2030.04319.08
5.4.200.1930.04319.08
5.4.190.1670.04319.21
5.4.180.1770.03719.14
5.4.170.1870.03319.30
5.4.160.1970.04319.12
5.4.150.1570.05319.32
5.4.140.2000.05316.34
5.4.130.2100.03716.32
5.4.120.1770.04016.38
5.4.110.2000.04016.36
5.4.100.0900.04316.20
5.4.90.0070.03716.32
5.4.80.0070.07316.54
5.4.70.1570.04716.38
5.4.60.2000.03716.33
5.4.50.2030.04716.52
5.4.40.2070.03716.53
5.4.30.1970.04716.36
5.4.20.1870.03716.34
5.4.10.1730.04016.36
5.4.00.2070.04015.95
5.3.290.2130.04314.76
5.3.280.1870.04014.48
5.3.270.2070.04314.51
5.3.260.2100.04014.61
5.3.250.1830.04014.68
5.3.240.2030.04314.54
5.3.230.2070.04014.50
5.3.220.2030.03714.55
5.3.210.1970.03014.71
5.3.200.2000.03714.55
5.3.190.2470.03014.47
5.3.180.1670.03714.65
5.3.170.1730.03714.70
5.3.160.1700.03714.57
5.3.150.1930.03714.47
5.3.140.2070.04014.45
5.3.130.2070.03714.54
5.3.120.1970.04314.55
5.3.110.1770.04314.77
5.3.100.1700.03714.26
5.3.90.1800.03713.99
5.3.80.1730.03713.94
5.3.70.1830.04014.02
5.3.60.1930.04014.11
5.3.50.1800.03013.99
5.3.40.1730.03714.02
5.3.30.1670.04013.98
5.3.20.1700.03713.83
5.3.10.2070.03713.68
5.3.00.1900.03013.66
5.2.170.1400.03311.22
5.2.160.1530.02711.07
5.2.150.1670.03711.15
5.2.140.1330.03011.14
5.2.130.1470.02011.04
5.2.120.1600.02711.00
5.2.110.1570.03011.04
5.2.100.1670.03311.01
5.2.90.1570.03711.32
5.2.80.1600.03311.01
5.2.70.1470.04011.31
5.2.60.1400.02310.95
5.2.50.1330.03011.09
5.2.40.1330.03311.00
5.2.30.1270.03011.11
5.2.20.1330.03311.04
5.2.10.1270.03010.83
5.2.00.1270.03310.80
5.1.60.1170.0309.91
5.1.50.1270.02710.00
5.1.40.1130.0309.88
5.1.30.1200.02310.24
5.1.20.1330.02710.49
5.1.10.1230.02010.06
5.1.00.1300.0309.95
5.0.50.0700.0338.77
5.0.40.0600.0238.55
5.0.30.0600.0308.27
5.0.20.0630.0208.09
5.0.10.0700.0308.25
5.0.00.0730.0438.38
4.4.90.0700.0237.84
4.4.80.0530.0207.84
4.4.70.0730.0237.84
4.4.60.0600.0237.84
4.4.50.0630.0237.84
4.4.40.0670.0307.84
4.4.30.0500.0207.84
4.4.20.0630.0207.84
4.4.10.0700.0237.84
4.4.00.0700.0377.84
4.3.110.0500.0177.84
4.3.100.0570.0177.84
4.3.90.0630.0207.84
4.3.80.0530.0277.84
4.3.70.0600.0277.84
4.3.60.0670.0237.84
4.3.50.0630.0137.84
4.3.40.0470.0237.84
4.3.30.0170.0177.84
4.3.20.0300.0177.84
4.3.10.0400.0177.84
4.3.00.0300.0137.84