3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "<p>adadasdasd</p> <a"; $a = strip_tags($string) echo $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)
5.4.270.0170.06318.85
5.4.260.0200.05319.10
5.4.250.0200.06319.02
5.4.240.0100.05318.74
5.4.230.0100.06018.84
5.4.220.0000.06719.02
5.4.210.0170.06318.83
5.4.200.0130.06018.73
5.4.190.0070.07718.99
5.4.180.0130.05018.79
5.4.170.0130.07018.94
5.4.160.0230.05718.99
5.4.150.0130.07318.99
5.4.140.0170.05316.55
5.4.130.0070.07016.36
5.4.120.0170.05316.39
5.4.110.0100.05016.41
5.4.100.0070.07016.65
5.4.90.0100.06316.55
5.4.80.0100.06716.64
5.4.70.0130.05716.50
5.4.60.0070.07716.46
5.4.50.0130.04316.49
5.4.40.0170.06016.67
5.4.30.0070.05316.33
5.4.20.0100.05016.44
5.4.10.0100.06016.38
5.4.00.0030.06015.84
5.3.280.0070.05314.60
5.3.270.0070.06714.46
5.3.260.0100.07714.76
5.3.250.0170.06714.38
5.3.240.0100.06714.63
5.3.230.0000.06314.61
5.3.220.0030.05714.57
5.3.210.0070.05314.59
5.3.200.0070.05714.34
5.3.190.0100.07314.57
5.3.180.0100.05014.55
5.3.170.0000.07714.57
5.3.160.0230.04714.56
5.3.150.0100.06714.26
5.3.140.0070.07314.40
5.3.130.0100.05714.25
5.3.120.0200.06714.57
5.3.110.0100.05714.32
5.3.100.0130.06313.81
5.3.90.0130.05014.02
5.3.80.0070.05314.03
5.3.70.0070.05713.88
5.3.60.0100.06014.15
5.3.50.0070.06713.86
5.3.40.0100.06713.71
5.3.30.0100.06013.92
5.3.20.0170.06013.63
5.3.10.0100.06713.54
5.3.00.0130.05013.58
5.2.170.0030.04311.14
5.2.160.0030.05011.16
5.2.150.0030.04311.05
5.2.140.0030.05011.16
5.2.130.0100.05310.85
5.2.120.0030.05311.01
5.2.110.0130.04711.00
5.2.100.0100.04310.86
5.2.90.0030.06011.00
5.2.80.0170.03311.01
5.2.70.0100.04011.24
5.2.60.0070.05311.21
5.2.50.0070.05310.79
5.2.40.0130.04710.93
5.2.30.0130.04711.07
5.2.20.0030.05010.97
5.2.10.0100.03710.71
5.2.00.0070.05010.79
5.1.60.0200.03010.05
5.1.50.0030.0409.90
5.1.40.0170.04310.16
5.1.30.0070.03710.50
5.1.20.0100.04310.33
5.1.10.0100.04310.16
5.1.00.0170.04310.12
5.0.50.0030.0408.43
5.0.40.0170.0238.55
5.0.30.0070.0478.37
5.0.20.0030.0278.23
5.0.10.0100.0238.11
5.0.00.0030.0438.13
4.4.90.0030.0306.00
4.4.80.0000.0306.00
4.4.70.0000.0276.00
4.4.60.0000.0276.00
4.4.50.0030.0276.00
4.4.40.0070.0436.00
4.4.30.0070.0236.00
4.4.20.0070.0276.00
4.4.10.0130.0176.00
4.4.00.0070.0436.00
4.3.110.0170.0176.00
4.3.100.0070.0276.00
4.3.90.0000.0306.00
4.3.80.0070.0406.00
4.3.70.0000.0276.00
4.3.60.0030.0206.00
4.3.50.0030.0236.00
4.3.40.0030.0336.00
4.3.30.0030.0276.00
4.3.20.0000.0276.00
4.3.10.0000.0306.00
4.3.00.0030.0205.96

preferences:
141.51 ms | 1394 KiB | 7 Q