3v4l.org

run code in 300+ PHP versions simultaneously
<?php call_user_func_array($function($arg1, $arg2) { return $arg1 . ' ' . $arg2; }, array('Hello', 'Bart')))

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.390.0100.06018.79
5.4.380.0200.05018.63
5.4.370.0130.06018.73
5.4.360.0130.06018.79
5.4.350.0170.07018.61
5.4.340.0100.07318.80
5.4.320.0100.06018.49
5.4.310.0200.05318.58
5.4.300.0270.04718.56
5.4.290.0230.05018.53
5.4.280.0270.05318.78
5.4.270.0130.06318.69
5.4.260.0300.06018.74
5.4.250.0300.05018.78
5.4.240.0130.06718.72
5.4.230.0170.05718.77
5.4.220.0170.05718.51
5.4.210.0200.05018.59
5.4.200.0230.04716.61
5.4.190.0170.05718.57
5.4.180.0170.05318.56
5.4.170.0200.05718.45
5.4.160.0270.04318.44
5.4.150.0170.05318.58
5.4.140.0230.04316.16
5.4.130.0170.04716.30
5.4.120.0230.04316.25
5.4.110.0170.04716.29
5.4.100.0170.05316.28
5.4.90.0230.05016.24
5.4.80.0200.05316.15
5.4.70.0170.05716.20
5.4.60.0230.06716.30
5.4.50.0230.05716.20
5.4.40.0200.05316.31
5.4.30.0130.07316.21
5.4.20.0130.05716.40
5.4.10.0130.05316.23
5.4.00.0130.05315.66
5.3.290.0300.04714.67
5.3.280.0230.04714.64
5.3.270.0230.05014.58
5.3.260.0100.06014.59
5.3.250.0130.05714.52
5.3.240.0170.05314.59
5.3.230.0130.05714.69
5.3.220.0200.05014.64
5.3.210.0200.05714.56
5.3.200.0200.04714.55
5.3.190.0170.05314.62
5.3.180.0200.05014.48
5.3.170.0170.05314.48
5.3.160.0230.04314.55
5.3.150.0230.04714.66
5.3.140.0230.04314.66
5.3.130.0170.05314.52
5.3.120.0200.05314.62
5.3.110.0130.05714.46
5.3.100.0270.04713.93
5.3.90.0230.05314.02
5.3.80.0270.04313.96
5.3.70.0170.05714.10
5.3.60.0100.05713.99
5.3.50.0200.04713.89
5.3.40.0270.05313.84
5.3.30.0170.05313.90
5.3.20.0170.05313.73
5.3.10.0230.04013.59
5.3.00.0100.05713.66
5.2.170.0130.04711.17
5.2.160.0100.04711.18
5.2.150.0170.04011.20
5.2.140.0170.04311.20
5.2.130.0170.04011.05
5.2.120.0070.04711.03
5.2.110.0130.04311.24
5.2.100.0130.04711.02
5.2.90.0130.04311.13
5.2.80.0230.03711.23
5.2.70.0230.03311.23
5.2.60.0130.04011.10
5.2.50.0070.05010.99
5.2.40.0130.03711.03
5.2.30.0200.04311.01
5.2.20.0100.04311.02
5.2.10.0200.03311.02
5.2.00.0100.04710.74
5.1.60.0070.03710.01
5.1.50.0170.02710.05
5.1.40.0170.0439.96
5.1.30.0100.04010.38
5.1.20.0170.04310.39
5.1.10.0130.03710.04
5.1.00.0130.03710.05
5.0.50.0070.0338.67
5.0.40.0070.0308.43
5.0.30.0070.0478.24
5.0.20.0130.0238.32
5.0.10.0070.0278.27
5.0.00.0130.0408.19
4.4.90.0070.0235.91
4.4.80.0100.0205.82
4.4.70.0070.0235.89
4.4.60.0030.0235.94
4.4.50.0000.0275.87
4.4.40.0030.0505.89
4.4.30.0130.0235.86
4.4.20.0100.0205.93
4.4.10.0030.0275.98
4.4.00.0030.0405.90
4.3.110.0100.0205.81
4.3.100.0130.0135.84
4.3.90.0030.0235.89
4.3.80.0070.0335.82
4.3.70.0070.0205.79
4.3.60.0030.0235.93
4.3.50.0030.0235.78
4.3.40.0070.0375.88
4.3.30.0030.0234.66
4.3.20.0030.0234.53
4.3.10.0000.0274.49
4.3.00.0030.0208.79

preferences:
141.11 ms | 1394 KiB | 7 Q