3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i=0;$i<3;++$i) { printf("%d\n", $i) };

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.0060.03712.37
5.4.270.0070.03712.37
5.4.260.0090.05712.36
5.4.250.0070.04012.37
5.4.240.0080.03812.36
5.4.230.0110.03612.36
5.4.220.0060.03812.36
5.4.210.0140.06412.36
5.4.200.0060.04612.36
5.4.190.0060.04012.36
5.4.180.0120.03212.36
5.4.170.0080.03712.36
5.4.160.0070.03812.36
5.4.150.0040.04212.36
5.4.140.0170.04312.05
5.4.130.0070.04712.02
5.4.120.0060.05111.99
5.4.110.0080.04911.99
5.4.100.0120.04211.99
5.4.90.0120.04611.98
5.4.80.0130.04811.98
5.4.70.0110.04511.98
5.4.60.0100.04311.98
5.4.50.0110.04611.98
5.4.40.0060.04211.97
5.4.30.0090.04511.96
5.4.20.0080.04211.96
5.4.10.0180.05011.96
5.4.00.0090.06211.46
5.3.280.0140.06612.71
5.3.270.0160.06612.72
5.3.260.0140.06012.72
5.3.250.0130.08512.72
5.3.240.0180.06212.72
5.3.230.0220.08912.71
5.3.220.0240.05912.68
5.3.210.0150.05712.68
5.3.200.0090.04012.68
5.3.190.0090.04012.67
5.3.180.0080.04012.67
5.3.170.0050.04312.67
5.3.160.0280.09612.67
5.3.150.0100.05112.67
5.3.140.0320.07312.66
5.3.130.0120.06612.66
5.3.120.0150.05912.66
5.3.110.0150.10112.66
5.3.100.0100.05112.12
5.3.90.0150.05212.08
5.3.80.0100.05112.07
5.3.70.0110.06112.08
5.3.60.0290.08012.07
5.3.50.0230.06912.00
5.3.40.0240.10112.00
5.3.30.0170.09011.94
5.3.20.0220.08311.70
5.3.10.0270.09911.67
5.3.00.0170.08511.66
5.2.170.0170.0779.15
5.2.160.0140.0579.15
5.2.150.0140.0509.16
5.2.140.0080.0419.15
5.2.130.0100.0569.11
5.2.120.0090.0439.11
5.2.110.0090.0579.11
5.2.100.0180.0529.11
5.2.90.0330.0499.11
5.2.80.0090.0339.11
5.2.70.0050.0509.11
5.2.60.0090.0419.06
5.2.50.0060.0369.03
5.2.40.0070.0339.00
5.2.30.0120.0368.98
5.2.20.0080.0318.97
5.2.10.0090.0338.90
5.2.00.0080.0438.76
5.1.60.0140.0518.05
5.1.50.0090.0408.05
5.1.40.0080.0558.04
5.1.30.0100.0338.38
5.1.20.0070.0448.41
5.1.10.0110.0298.13
5.1.00.0110.0328.13
5.0.50.0180.0586.61
5.0.40.0090.0466.46
5.0.30.0140.0426.27
5.0.20.0080.0446.25
5.0.10.0050.0266.23
5.0.00.0070.0326.21
4.4.90.0040.0184.78
4.4.80.0040.0174.75
4.4.70.0050.0154.76
4.4.60.0040.0164.75
4.4.50.0030.0184.77
4.4.40.0060.0254.71
4.4.30.0020.0204.75
4.4.20.0180.0314.85
4.4.10.0060.0194.85
4.4.00.0100.0504.76
4.3.110.0040.0174.67
4.3.100.0060.0164.66
4.3.90.0020.0194.63
4.3.80.0030.0284.58
4.3.70.0060.0184.63
4.3.60.0020.0184.63
4.3.50.0020.0194.62
4.3.40.0060.0264.54
4.3.30.0050.0163.27
4.3.20.0060.0183.25
4.3.10.0030.0213.21
4.3.00.0000.01310.30

preferences:
139.62 ms | 1394 KiB | 7 Q