3v4l.org

run code in 300+ PHP versions simultaneously
<?php $func = function($arg1, $arg2, $arg3) { return $arg1 + $arg2 + $arg3; }; $addendi = array(100, 200, 300) var_dump(call_user_func_array($func, $addendi)); ?>

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.270.0100.05319.01
5.4.260.0170.07318.98
5.4.250.0100.07318.69
5.4.240.0070.05718.92
5.4.230.0200.06318.86
5.4.220.0170.07018.98
5.4.210.0200.05018.77
5.4.200.0170.07318.73
5.4.190.0170.06318.86
5.4.180.0000.08718.63
5.4.170.0100.06019.07
5.4.160.0170.07018.71
5.4.150.0100.05318.81
5.4.140.0130.05016.44
5.4.130.0100.06016.52
5.4.120.0170.06316.47
5.4.110.0070.07316.40
5.4.100.0230.03716.60
5.4.90.0100.05016.35
5.4.80.0070.06016.40
5.4.70.0130.06716.43
5.4.60.0070.05016.51
5.4.50.0100.04716.39
5.4.40.0200.06016.28
5.4.30.0130.04716.35
5.4.20.0200.05716.46
5.4.10.0070.05716.33
5.4.00.0130.05015.96
5.3.280.0070.05314.74
5.3.270.0100.06314.51
5.3.260.0100.06014.59
5.3.250.0000.07014.44
5.3.240.0270.06014.69
5.3.230.0130.05714.59
5.3.220.0070.05714.65
5.3.210.0170.05014.64
5.3.200.0170.06014.40
5.3.190.0170.06314.65
5.3.180.0100.05314.55
5.3.170.0130.04714.78
5.3.160.0230.06714.70
5.3.150.0170.05714.56
5.3.140.0070.05714.69
5.3.130.0200.04014.53
5.3.120.0000.06714.63
5.3.110.0030.05714.71
5.3.100.0100.06314.11
5.3.90.0000.06314.09
5.3.80.0170.06314.10
5.3.70.0130.05014.06
5.3.60.0100.05713.97
5.3.50.0100.05014.11
5.3.40.0070.05013.78
5.3.30.0100.07314.07
5.3.20.0100.04713.81
5.3.10.0070.05713.48
5.3.00.0030.07313.72
5.2.170.0130.05711.06
5.2.160.0130.03711.26
5.2.150.0100.04011.06
5.2.140.0030.06311.29
5.2.130.0130.04310.98
5.2.120.0100.03711.21
5.2.110.0200.03711.03
5.2.100.0030.05711.11
5.2.90.0130.03311.20
5.2.80.0130.05311.01
5.2.70.0070.05711.02
5.2.60.0130.03711.20
5.2.50.0100.05311.04
5.2.40.0000.04310.93
5.2.30.0100.04710.88
5.2.20.0070.05311.05
5.2.10.0030.04710.93
5.2.00.0100.05310.61
5.1.60.0070.03010.02
5.1.50.0130.0409.76
5.1.40.0070.04710.17
5.1.30.0130.02710.41
5.1.20.0030.04010.29
5.1.10.0070.05010.26
5.1.00.0170.03010.21
5.0.50.0070.0378.59
5.0.40.0070.0278.34
5.0.30.0130.0438.16
5.0.20.0070.0308.34
5.0.10.0100.0278.14
5.0.00.0030.0478.24
4.4.90.0200.0176.76
4.4.80.0030.0336.76
4.4.70.0030.0306.76
4.4.60.0000.0236.76
4.4.50.0030.0206.76
4.4.40.0100.0436.76
4.4.30.0070.0236.76
4.4.20.0130.0206.76
4.4.10.0100.0206.76
4.4.00.0000.0406.76
4.3.110.0030.0206.76
4.3.100.0000.0306.76
4.3.90.0030.0206.76
4.3.80.0000.0336.76
4.3.70.0030.0306.76
4.3.60.0000.0236.76
4.3.50.0000.0336.76
4.3.40.0030.0306.76
4.3.30.0030.0206.76
4.3.20.0000.0236.76
4.3.10.0030.0206.76
4.3.00.0130.0178.13

preferences:
141.98 ms | 1394 KiB | 7 Q