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.0.0rc20.0050.01416.82
8.0.0rc10.0090.01016.56
8.0.0beta40.0110.00816.61
8.0.0beta30.0090.01016.57
8.0.0beta20.0110.01016.45
8.0.0beta10.0120.00816.57
8.0.0alpha30.0100.00916.48
8.0.0alpha20.0090.01116.42
8.0.0alpha10.0110.00916.42
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.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