3v4l.org

run code in 300+ PHP versions simultaneously
<?php trim(htmlspecialchars('');

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.280.0080.05312.36
5.4.270.0110.05712.36
5.4.260.0090.05212.36
5.4.250.0110.04712.36
5.4.240.0060.04712.36
5.4.230.0060.04012.35
5.4.220.0060.03912.36
5.4.210.0040.04112.36
5.4.200.0110.03912.36
5.4.190.0080.03912.35
5.4.180.0070.04312.35
5.4.170.0070.04712.36
5.4.160.0160.08312.35
5.4.150.0150.05712.35
5.4.140.0090.05212.04
5.4.130.0070.05112.02
5.4.120.0050.05111.98
5.4.110.0100.07011.98
5.4.100.0190.07411.98
5.4.90.0150.07711.98
5.4.80.0060.05211.98
5.4.70.0110.06211.98
5.4.60.0090.06011.98
5.4.50.0120.06111.98
5.4.40.0120.05411.96
5.4.30.0140.05111.97
5.4.20.0120.04911.96
5.4.10.0140.05311.96
5.4.00.0120.04611.45
5.3.280.0110.04812.71
5.3.270.0080.05012.72
5.3.260.0090.04312.72
5.3.250.0080.04512.72
5.3.240.0100.05012.71
5.3.230.0070.04112.71
5.3.220.0050.04312.68
5.3.210.0150.04112.68
5.3.200.0240.07612.68
5.3.190.0120.03912.68
5.3.180.0100.04112.67
5.3.170.0130.07312.67
5.3.160.0110.08112.67
5.3.150.0090.05612.67
5.3.140.0100.04112.66
5.3.130.0060.04812.66
5.3.120.0090.05512.66
5.3.110.0060.05612.66
5.3.100.0090.06112.12
5.3.90.0080.05612.08
5.3.80.0080.05412.07
5.3.70.0050.05612.08
5.3.60.0150.05312.06
5.3.50.0090.05712.00
5.3.40.0130.05412.00
5.3.30.0080.04311.94
5.3.20.0070.03711.70
5.3.10.0080.04811.67
5.3.00.0240.08511.67
5.2.170.0170.0669.15
5.2.160.0150.0649.15
5.2.150.0110.0449.14
5.2.140.0130.0509.14
5.2.130.0030.0509.11
5.2.120.0160.0469.11
5.2.110.0160.0559.12
5.2.100.0040.0529.11
5.2.90.0100.0439.11
5.2.80.0120.0589.11
5.2.70.0070.0489.11
5.2.60.0060.0539.06
5.2.50.0110.0549.04
5.2.40.0090.0529.00
5.2.30.0070.0498.98
5.2.20.0060.0478.97
5.2.10.0100.0518.90
5.2.00.0060.0328.76
5.1.60.0020.0298.04
5.1.50.0070.0278.05
5.1.40.0060.0278.02
5.1.30.0080.0358.38
5.1.20.0110.0298.40
5.1.10.0030.0318.12
5.1.00.0070.0288.12
5.0.50.0080.0386.60
5.0.40.0060.0576.46
5.0.30.0090.0866.27
5.0.20.0110.0226.24
5.0.10.0050.0286.22
5.0.00.0040.0416.21
4.4.90.0110.0404.78
4.4.80.0080.0134.75
4.4.70.0090.0414.75
4.4.60.0040.0444.76
4.4.50.0080.0464.77
4.4.40.0040.0414.71
4.4.30.0030.0314.76
4.4.20.0120.0384.85
4.4.10.0030.0374.85
4.4.00.0040.0604.75
4.3.110.0070.0374.66
4.3.100.0070.0214.66
4.3.90.0030.0264.63
4.3.80.0020.0374.59
4.3.70.0060.0224.63
4.3.60.0030.0264.63
4.3.50.0060.0194.63
4.3.40.0110.0854.54
4.3.30.0020.0443.27
4.3.20.0060.0403.25
4.3.10.0090.0423.21
4.3.00.0130.0206.68

preferences:
136.88 ms | 1394 KiB | 7 Q