3v4l.org

run code in 300+ PHP versions simultaneously
<?php <select name="hour"> <?php for ($i = 1; $i <= 24; $i++) : ?> <option value="<?php echo $i; ?>"><?php echo $i; ?></option> <?php endfor; ?> </select>

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.0060.04012.36
5.4.260.0050.03912.36
5.4.250.0060.03712.36
5.4.240.0090.07212.36
5.4.230.0060.04312.36
5.4.220.0080.03412.35
5.4.210.0070.03412.36
5.4.200.0070.03712.35
5.4.190.0050.03612.35
5.4.180.0060.03612.35
5.4.170.0070.03412.36
5.4.160.0070.03412.35
5.4.150.0070.03512.35
5.4.140.0070.03612.04
5.4.130.0070.04312.02
5.4.120.0090.03711.98
5.4.110.0070.03711.98
5.4.100.0090.03111.98
5.4.90.0040.03811.98
5.4.80.0080.03511.98
5.4.70.0070.03311.97
5.4.60.0040.03611.98
5.4.50.0080.03311.97
5.4.40.0060.03411.96
5.4.30.0100.03811.96
5.4.20.0060.03611.96
5.4.10.0060.03411.96
5.4.00.0080.03511.46
5.3.280.0050.03812.71
5.3.270.0070.03812.73
5.3.260.0100.04112.71
5.3.250.0110.04812.72
5.3.240.0050.03812.72
5.3.230.0080.04512.71
5.3.220.0050.03712.68
5.3.210.0100.03512.68
5.3.200.0060.03912.68
5.3.190.0040.04012.68
5.3.180.0070.03612.67
5.3.170.0080.04012.67
5.3.160.0050.03712.68
5.3.150.0070.04712.68
5.3.140.0090.03412.66
5.3.130.0050.03912.66
5.3.120.0100.03912.66
5.3.110.0100.05112.66
5.3.100.0100.04712.12
5.3.90.0090.04212.08
5.3.80.0090.03512.07
5.3.70.0040.03912.07
5.3.60.0080.03512.06
5.3.50.0070.03512.00
5.3.40.0080.03412.00
5.3.30.0050.03611.94
5.3.20.0080.03311.69
5.3.10.0060.03611.65
5.3.00.0050.03711.64
5.2.170.0080.0279.14
5.2.160.0060.0299.14
5.2.150.0060.0299.14
5.2.140.0070.0329.14
5.2.130.0020.0329.10
5.2.120.0080.0289.10
5.2.110.0060.0389.10
5.2.100.0040.0329.10
5.2.90.0040.0319.10
5.2.80.0060.0299.09
5.2.70.0040.0359.09
5.2.60.0060.0289.05
5.2.50.0080.0269.02
5.2.40.0040.0299.00
5.2.30.0080.0278.97
5.2.20.0070.0278.96
5.2.10.0040.0298.88
5.2.00.0050.0298.74
5.1.60.0070.0228.03
5.1.50.0070.0228.03
5.1.40.0040.0258.01
5.1.30.0040.0268.36
5.1.20.0080.0238.39
5.1.10.0040.0298.11
5.1.00.0040.0348.11
5.0.50.0020.0236.58
5.0.40.0030.0206.45
5.0.30.0050.0326.26
5.0.20.0010.0216.23
5.0.10.0060.0196.21
5.0.00.0030.0376.20
4.4.90.0040.0204.78
4.4.80.0030.0174.76
4.4.70.0030.0154.75
4.4.60.0010.0174.75
4.4.50.0040.0144.77
4.4.40.0030.0334.71
4.4.30.0040.0174.76
4.4.20.0030.0184.85
4.4.10.0050.0144.85
4.4.00.0040.0244.76
4.3.110.0040.0164.67
4.3.100.0040.0164.66
4.3.90.0060.0154.63
4.3.80.0020.0264.58
4.3.70.0040.0174.63
4.3.60.0030.0164.63
4.3.50.0030.0224.63
4.3.40.0040.0314.54
4.3.30.0040.0203.27
4.3.20.0050.0183.25
4.3.10.0040.0193.22
4.3.00.0070.0237.00

preferences:
142.38 ms | 1394 KiB | 7 Q