3v4l.org

run code in 300+ PHP versions simultaneously
<?php $func = function($arg1, $arg2, $arg3) { return $arg1 + $arg2 + $arg3; }; $addendi = [200, 300]; var_dump(call_user_func_array($func, array(100, array_slice($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.0200.05018.91
5.4.260.0100.05019.10
5.4.250.0230.06019.00
5.4.240.0230.06018.82
5.4.230.0070.06718.63
5.4.220.0200.06319.01
5.4.210.0130.06318.73
5.4.200.0100.05718.88
5.4.190.0100.07318.82
5.4.180.0030.06318.75
5.4.170.0100.07318.90
5.4.160.0200.06718.86
5.4.150.0230.05019.01
5.4.140.0100.07316.55
5.4.130.0170.06016.38
5.4.120.0130.04316.38
5.4.110.0170.05316.29
5.4.100.0200.05016.28
5.4.90.0070.05016.64
5.4.80.0200.05716.35
5.4.70.0000.06016.42
5.4.60.0130.06716.23
5.4.50.0070.05016.57
5.4.40.0070.05016.45
5.4.30.0030.07016.53
5.4.20.0030.07316.44
5.4.10.0100.05316.38
5.4.00.0070.05716.02
5.3.280.0070.07014.61
5.3.270.0100.05314.59
5.3.260.0200.06714.71
5.3.250.0070.07314.59
5.3.240.0170.04314.59
5.3.230.0130.05314.68
5.3.220.0070.05714.65
5.3.210.0070.07014.79
5.3.200.0030.05714.65
5.3.190.0100.06314.57
5.3.180.0030.07714.65
5.3.170.0130.04314.65
5.3.160.0070.06314.54
5.3.150.0070.05014.75
5.3.140.0030.05314.56
5.3.130.0170.06714.63
5.3.120.0170.06014.57
5.3.110.0070.05314.38
5.3.100.0030.06314.13
5.3.90.0000.06014.10
5.3.80.0130.05014.10
5.3.70.0130.05713.92
5.3.60.0170.04014.09
5.3.50.0130.05314.11
5.3.40.0030.05313.95
5.3.30.0100.04714.09
5.3.20.0170.05713.78
5.3.10.0070.06013.72
5.3.00.0200.05313.73
5.2.170.0070.05011.17
5.2.160.0030.06011.17
5.2.150.0070.04711.25
5.2.140.0130.03710.89
5.2.130.0070.04011.00
5.2.120.0100.05311.01
5.2.110.0200.03011.25
5.2.100.0070.03710.86
5.2.90.0000.04710.99
5.2.80.0030.06011.11
5.2.70.0030.04010.99
5.2.60.0070.04311.20
5.2.50.0000.04711.02
5.2.40.0100.05011.00
5.2.30.0000.04310.90
5.2.20.0030.04010.98
5.2.10.0030.05010.80
5.2.00.0070.04310.66
5.1.60.0000.0409.93
5.1.50.0130.0279.93
5.1.40.0030.03710.04
5.1.30.0130.05010.50
5.1.20.0130.03310.44
5.1.10.0100.0409.92
5.1.00.0000.03710.30
5.0.50.0070.0378.64
5.0.40.0030.0278.64
5.0.30.0170.0438.14
5.0.20.0100.0308.20
5.0.10.0070.0338.20
5.0.00.0100.0438.15
4.4.90.0000.0305.86
4.4.80.0000.0235.78
4.4.70.0070.0275.78
4.4.60.0030.0235.75
4.4.50.0070.0205.75
4.4.40.0030.0435.82
4.4.30.0030.0305.77
4.4.20.0000.0305.96
4.4.10.0070.0275.82
4.4.00.0070.0435.82
4.3.110.0000.0305.73
4.3.100.0030.0235.69
4.3.90.0030.0205.67
4.3.80.0030.0335.66
4.3.70.0030.0305.67
4.3.60.0070.0135.81
4.3.50.0000.0305.73
4.3.40.0070.0305.60
4.3.30.0000.0235.11
4.3.20.0000.0235.11
4.3.10.0000.0235.11
4.3.00.0100.0236.61

preferences:
135.78 ms | 1394 KiB | 7 Q