3v4l.org

run code in 300+ PHP versions simultaneously
<?php for(range(0, 100) as $item) { echo $item * 5; }

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.320.0030.04012.50
5.4.310.0070.03712.49
5.4.300.0120.04312.50
5.4.290.0110.03812.49
5.4.280.0030.03812.39
5.4.270.0070.04212.39
5.4.260.0080.04412.39
5.4.250.0070.03812.39
5.4.240.0060.04712.39
5.4.230.0100.03912.38
5.4.220.0090.03612.38
5.4.210.0110.04012.38
5.4.200.0100.03912.38
5.4.190.0090.03612.38
5.4.180.0050.04612.38
5.4.170.0100.05012.39
5.4.160.0040.04712.38
5.4.150.0090.03612.38
5.4.140.0090.03612.07
5.4.130.0090.03212.05
5.4.120.0080.04012.02
5.4.110.0040.03612.01
5.4.100.0080.04712.01
5.4.90.0070.04612.01
5.4.80.0090.03712.02
5.4.70.0050.03812.01
5.4.60.0070.04112.01
5.4.50.0060.03812.00
5.4.40.0050.03611.99
5.4.30.0120.03911.99
5.4.20.0070.05311.99
5.4.10.0100.04711.99
5.4.00.0060.03711.49
5.3.290.0030.05112.80
5.3.280.0050.04412.71
5.3.270.0060.05012.73
5.3.260.0090.03912.72
5.3.250.0100.04012.72
5.3.240.0080.04412.72
5.3.230.0070.04812.71
5.3.220.0050.04212.68
5.3.210.0050.04912.68
5.3.200.0070.03512.68
5.3.190.0110.06712.68
5.3.180.0100.04012.67
5.3.170.0110.04812.67
5.3.160.0100.04412.67
5.3.150.0130.04112.67
5.3.140.0060.04012.66
5.3.130.0080.04812.66
5.3.120.0040.05112.65
5.3.110.0080.05312.66
5.3.100.0110.04012.12
5.3.90.0070.04512.09
5.3.80.0110.04412.07
5.3.70.0040.03912.07
5.3.60.0050.04312.06
5.3.50.0110.04312.00
5.3.40.0100.03612.00
5.3.30.0070.03811.95
5.3.20.0040.04811.73
5.3.10.0090.05511.70
5.3.00.0140.03811.68
5.2.170.0090.0389.18
5.2.160.0040.0299.18
5.2.150.0090.0369.18
5.2.140.0080.0369.18
5.2.130.0030.0309.13
5.2.120.0040.0339.14
5.2.110.0030.0379.14
5.2.100.0040.0329.14
5.2.90.0050.0299.14
5.2.80.0080.0359.14
5.2.70.0040.0419.14
5.2.60.0080.0359.09
5.2.50.0050.0409.06
5.2.40.0080.0399.04
5.2.30.0090.0389.02
5.2.20.0050.0409.01
5.2.10.0050.0338.93
5.2.00.0050.0418.79
5.1.60.0050.0348.07
5.1.50.0050.0308.06
5.1.40.0040.0358.05
5.1.30.0070.0318.40
5.1.20.0050.0298.41
5.1.10.0060.0278.14
5.1.00.0030.0278.14
5.0.50.0050.0256.62
5.0.40.0040.0286.48
5.0.30.0070.0306.29
5.0.20.0090.0316.27
5.0.10.0030.0266.24
5.0.00.0030.0386.23
4.4.90.0070.0214.77
4.4.80.0070.0164.75
4.4.70.0030.0254.76
4.4.60.0050.0194.75
4.4.50.0070.0334.77
4.4.40.0050.0334.71
4.4.30.0060.0194.76
4.4.20.0070.0124.85
4.4.10.0070.0174.85
4.4.00.0040.0334.76
4.3.110.0050.0154.67
4.3.100.0070.0244.67
4.3.90.0070.0254.64
4.3.80.0030.0244.58
4.3.70.0030.0334.63
4.3.60.0050.0124.63
4.3.50.0060.0304.63
4.3.40.0050.0314.54
4.3.30.0050.0243.29
4.3.20.0050.0183.27
4.3.10.0030.0193.22
4.3.00.0100.0206.80

preferences:
144.29 ms | 1386 KiB | 7 Q