3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f(...$params) { print_r($params) } f(1); f(1, 2); f(1, 2, 3);

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.0070.04012.52
5.4.310.0070.04312.52
5.4.300.0040.04112.51
5.4.290.0050.04212.50
5.4.280.0100.03712.41
5.4.270.0070.03712.40
5.4.260.0060.04412.41
5.4.250.0040.04912.40
5.4.240.0050.04312.41
5.4.230.0050.05012.40
5.4.220.0060.04112.40
5.4.210.0070.04512.39
5.4.200.0080.03912.40
5.4.190.0080.05012.39
5.4.180.0030.04112.39
5.4.170.0100.04912.40
5.4.160.0070.04512.39
5.4.150.0070.03612.39
5.4.140.0030.04112.08
5.4.130.0030.03812.07
5.4.120.0050.03612.03
5.4.110.0040.03912.02
5.4.100.0050.04012.02
5.4.90.0070.04512.02
5.4.80.0070.04012.02
5.4.70.0080.03412.02
5.4.60.0040.03612.02
5.4.50.0060.03612.02
5.4.40.0080.03312.01
5.4.30.0080.03712.01
5.4.20.0080.03712.00
5.4.10.0070.03512.01
5.4.00.0070.03611.50
5.3.290.0070.04112.80
5.3.280.0110.03512.71
5.3.270.0080.04612.72
5.3.260.0090.04412.72
5.3.250.0080.03712.71
5.3.240.0090.03412.72
5.3.230.0030.04012.71
5.3.220.0080.03512.68
5.3.210.0120.03912.68
5.3.200.0090.03812.68
5.3.190.0100.03512.68
5.3.180.0050.03912.67
5.3.170.0080.03612.67
5.3.160.0070.04712.68
5.3.150.0080.04112.68
5.3.140.0050.03912.66
5.3.130.0070.04012.66
5.3.120.0050.04812.66
5.3.110.0070.05412.66
5.3.100.0110.03912.13
5.3.90.0060.05012.11
5.3.80.0080.03412.09
5.3.70.0060.04112.09
5.3.60.0080.04412.08
5.3.50.0080.03412.03
5.3.40.0080.03612.02
5.3.30.0100.03211.98
5.3.20.0080.04111.76
5.3.10.0070.03911.73
5.3.00.0080.04011.71
5.2.170.0070.0319.21
5.2.160.0060.0299.21
5.2.150.0050.0329.21
5.2.140.0060.0339.21
5.2.130.0060.0309.18
5.2.120.0050.0359.18
5.2.110.0010.0399.18
5.2.100.0040.0299.18
5.2.90.0060.0389.18
5.2.80.0060.0319.17
5.2.70.0060.0359.17
5.2.60.0100.0329.13
5.2.50.0040.0339.09
5.2.40.0070.0299.07
5.2.30.0020.0329.05
5.2.20.0050.0339.04
5.2.10.0070.0268.95
5.2.00.0050.0298.80
5.1.60.0040.0248.09
5.1.50.0040.0258.08
5.1.40.0050.0238.07
5.1.30.0030.0348.43
5.1.20.0050.0268.43
5.1.10.0070.0258.16
5.1.00.0040.0298.16
5.0.50.0030.0226.64
5.0.40.0060.0226.50
5.0.30.0030.0376.31
5.0.20.0050.0246.28
5.0.10.0030.0226.25
5.0.00.0040.0306.25
4.4.90.0020.0174.78
4.4.80.0030.0164.75
4.4.70.0030.0154.75
4.4.60.0030.0184.75
4.4.50.0020.0164.77
4.4.40.0040.0244.70
4.4.30.0040.0214.76
4.4.20.0020.0274.84
4.4.10.0020.0194.85
4.4.00.0040.0244.76
4.3.110.0050.0154.67
4.3.100.0030.0164.66
4.3.90.0020.0164.63
4.3.80.0040.0224.59
4.3.70.0050.0164.63
4.3.60.0030.0164.63
4.3.50.0020.0174.63
4.3.40.0050.0224.54
4.3.30.0020.0173.30
4.3.20.0030.0173.29
4.3.10.0030.0153.23
4.3.00.0070.0206.75

preferences:
142.96 ms | 1394 KiB | 7 Q