3v4l.org

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

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.0200.04318.88
5.4.260.0030.09318.91
5.4.250.0200.05318.97
5.4.240.0170.05318.98
5.4.230.0130.05018.88
5.4.220.0100.06018.71
5.4.210.0200.04718.89
5.4.200.0030.05318.71
5.4.190.0100.05018.89
5.4.180.0100.06019.04
5.4.170.0130.07318.97
5.4.160.0070.05718.93
5.4.150.0200.07318.60
5.4.140.0130.04716.35
5.4.130.0130.06316.52
5.4.120.0170.06016.30
5.4.110.0100.05316.36
5.4.100.0200.04716.40
5.4.90.0170.06016.44
5.4.80.0070.06016.51
5.4.70.0070.07016.34
5.4.60.0100.04716.44
5.4.50.0070.04716.41
5.4.40.0130.04716.59
5.4.30.0200.05716.62
5.4.20.0070.06016.30
5.4.10.0130.05016.33
5.4.00.0170.04015.93
5.3.280.0070.06314.68
5.3.270.0100.05314.69
5.3.260.0000.07014.77
5.3.250.0070.05714.74
5.3.240.0030.05314.69
5.3.230.0100.06314.73
5.3.220.0030.07014.73
5.3.210.0000.06714.57
5.3.200.0000.06014.58
5.3.190.0170.05014.63
5.3.180.0130.04314.78
5.3.170.0100.05014.63
5.3.160.0100.06014.65
5.3.150.0070.05714.64
5.3.140.0070.07314.65
5.3.130.0170.06014.63
5.3.120.0100.05014.45
5.3.110.0130.05714.57
5.3.100.0170.04714.16
5.3.90.0100.06714.09
5.3.80.0130.04314.10
5.3.70.0070.05014.11
5.3.60.0100.05714.02
5.3.50.0130.04714.03
5.3.40.0070.07313.97
5.3.30.0130.05314.06
5.3.20.0100.04713.61
5.3.10.0100.04313.72
5.3.00.0030.06013.61
5.2.170.0070.04311.14
5.2.160.0100.03711.04
5.2.150.0100.04011.14
5.2.140.0030.06311.15
5.2.130.0070.05711.01
5.2.120.0070.05710.93
5.2.110.0030.04311.01
5.2.100.0000.06711.21
5.2.90.0030.05311.01
5.2.80.0030.05011.00
5.2.70.0070.06011.25
5.2.60.0100.04711.07
5.2.50.0100.06011.01
5.2.40.0100.04311.03
5.2.30.0100.06010.80
5.2.20.0170.05010.96
5.2.10.0130.04310.77
5.2.00.0070.05310.60
5.1.60.0070.0379.92
5.1.50.0130.0409.93
5.1.40.0030.0339.94
5.1.30.0100.04710.55
5.1.20.0100.04710.56
5.1.10.0100.0409.83
5.1.00.0030.05310.12
5.0.50.0070.0378.70
5.0.40.0070.0308.25
5.0.30.0070.0578.28
5.0.20.0130.0178.23
5.0.10.0000.0338.15
5.0.00.0000.0538.19
4.4.90.0070.0236.83
4.4.80.0070.0176.83
4.4.70.0070.0236.83
4.4.60.0030.0236.83
4.4.50.0030.0306.83
4.4.40.0000.0536.83
4.4.30.0100.0276.83
4.4.20.0000.0236.83
4.4.10.0030.0306.83
4.4.00.0000.0376.83
4.3.110.0130.0276.83
4.3.100.0000.0306.83
4.3.90.0030.0236.83
4.3.80.0000.0376.83
4.3.70.0000.0236.83
4.3.60.0030.0206.83
4.3.50.0030.0306.83
4.3.40.0070.0336.83
4.3.30.0000.0236.83
4.3.20.0030.0306.83
4.3.10.0000.0236.83
4.3.00.0030.01715.57

preferences:
139.71 ms | 1394 KiB | 7 Q