3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($b, $a) { return $b . $a; } var_dump(call_user_func_array('foo', ['a' => 'first', 'b' => 'second'])); var_dump(call_user_func_array('foo', ['first', 'second']));

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)
8.4.10.0080.00020.53
8.3.140.0080.00017.30
8.3.130.0030.00618.36
8.3.120.0080.00018.85
8.3.110.0030.00618.41
8.3.100.0000.00824.06
8.3.90.0040.01126.77
8.3.80.0070.00416.66
8.3.70.0130.01018.18
8.3.60.0070.01118.18
8.3.50.0150.00523.62
8.3.40.0070.01021.63
8.3.30.0100.00718.59
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0000.00726.16
8.2.250.0060.00316.39
8.2.240.0030.00617.05
8.2.230.0050.00520.94
8.2.220.0030.00637.54
8.2.210.0140.00426.77
8.2.200.0060.00316.63
8.2.190.0110.00716.58
8.2.180.0070.01025.92
8.2.170.0100.00718.90
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0110.00426.16
8.2.120.0070.00019.28
8.2.110.0120.00919.39
8.2.100.0080.00317.91
8.2.90.0050.00317.90
8.2.80.0080.00017.97
8.2.70.0060.00317.50
8.2.60.0000.00817.50
8.2.50.0060.00319.35
8.2.40.0030.00519.20
8.2.30.0000.00719.30
8.2.20.0000.00817.97
8.2.10.0080.00019.25
8.2.00.0080.00019.28
8.1.300.0120.00417.78
8.1.290.0060.00330.84
8.1.280.0130.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00022.43
8.1.230.0080.00420.98
8.1.220.0000.00817.75
8.1.210.0040.00419.03
8.1.200.0040.00417.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.48
8.1.160.0040.00418.96
8.1.150.0040.00418.79
8.1.140.0000.00718.76
8.1.130.0000.00720.02
8.1.120.0000.00717.39
8.1.110.0090.00017.36
8.1.100.0000.00717.29
8.1.90.0040.00417.34
8.1.80.0050.00317.31
8.1.70.0030.00317.20
8.1.60.0050.00517.41
8.1.50.0040.00417.45
8.1.40.0090.00017.41
8.1.30.0030.00517.57
8.1.20.0040.00417.51
8.1.10.0040.00417.38
8.1.00.0040.00417.35
8.0.300.0050.00319.90
8.0.290.0000.00716.63
8.0.280.0000.00718.36
8.0.270.0070.00016.63
8.0.260.0000.00820.05
8.0.250.0030.00316.90
8.0.240.0030.00616.87
8.0.230.0000.00616.84
8.0.220.0070.00016.80
8.0.210.0000.00716.86
8.0.200.0000.00616.89
8.0.190.0050.00316.88
8.0.180.0000.00716.84
8.0.170.0040.00416.89
8.0.160.0050.00316.84
8.0.150.0000.00716.70
8.0.140.0000.00716.75
8.0.130.0040.00413.24
8.0.120.0000.00716.80
8.0.110.0030.00316.79
8.0.100.0040.00416.85
8.0.90.0070.00016.75
8.0.80.0090.00616.69
8.0.70.0000.00716.70
8.0.60.0040.00416.75
8.0.50.0000.00816.68
8.0.30.0080.00817.07
8.0.20.0140.00517.04
8.0.10.0000.00816.73
8.0.00.0150.00316.66
7.4.330.0000.00515.55
7.4.320.0040.00416.54
7.4.300.0030.00316.59
7.4.290.0000.00816.59
7.4.280.0060.00316.38
7.4.270.0040.00416.43
7.4.260.0000.00613.15
7.4.250.0000.00716.59
7.4.240.0030.00316.57
7.4.230.0070.00016.43
7.4.220.0050.00216.62
7.4.210.0080.00816.59
7.4.200.0040.00416.68
7.4.130.0060.01116.47
7.4.120.0040.01216.47
7.4.110.0120.00816.33
7.4.100.0120.00716.31
7.4.90.0120.00916.33
7.4.80.0100.00916.39
7.4.70.0100.00916.33
7.4.60.0110.00816.41
7.4.50.0130.00716.38
7.4.40.0110.00916.42
7.4.30.0110.00916.40
7.4.20.0100.00916.34
7.4.10.0120.00716.36
7.4.00.0100.00816.40
7.3.330.0030.00316.31
7.3.320.0030.00313.15
7.3.310.0080.00016.18
7.3.300.0000.00616.33
7.3.290.0050.01016.29
7.3.260.0040.01416.57
7.3.230.0130.00616.33
7.3.220.0110.00916.28
7.3.210.0130.00616.34
7.3.200.0130.00716.23
7.3.190.0090.00916.30
7.3.180.0120.00716.28
7.3.170.0120.00816.29
7.3.160.0110.00916.28
7.3.150.0100.01016.35
7.3.140.0110.00916.30
7.3.130.0110.00816.32
7.3.120.0100.00916.35
7.3.110.0130.00816.34
7.3.100.0140.00616.28
7.3.90.0110.00816.32
7.3.80.0100.01016.26
7.3.70.0140.00716.33
7.3.60.0120.00816.28
7.3.50.0110.00716.21
7.3.40.0110.00816.26
7.3.30.0110.00716.25
7.3.20.0120.00916.28
7.3.10.0130.00716.28
7.3.00.0130.00716.31
7.2.340.0110.00916.42
7.2.330.0110.00916.40
7.2.320.0120.00716.37
7.2.310.0110.00816.50
7.2.300.0120.00816.42
7.2.290.0110.00716.41
7.2.280.0120.00916.40
7.2.270.0120.00916.47
7.2.260.0120.00916.39
7.2.250.0120.00716.42
7.2.240.0100.01116.44
7.2.230.0120.00916.43
7.2.220.0120.00916.45
7.2.210.0130.00716.41
7.2.200.0100.01016.43
7.2.190.0120.00916.41
7.2.180.0090.01116.38
7.2.170.0120.00816.39
7.2.160.0100.00916.36
7.2.150.0140.00916.44
7.2.140.0100.01016.40
7.2.130.0100.01016.46
7.2.120.0110.01016.42
7.2.110.0120.00916.46
7.2.100.0160.01016.42
7.2.90.0130.00916.43
7.2.80.0140.00816.35
7.2.70.0100.00916.46
7.2.60.0110.00916.45
7.2.50.0130.00716.42
7.2.40.0120.00916.46
7.2.30.0100.01116.50
7.2.20.0090.01116.44
7.2.10.0110.00916.42
7.2.00.0110.00916.42

preferences:
28.49 ms | 403 KiB | 5 Q