3v4l.org

run code in 300+ PHP versions simultaneously
<?php $values = [     ['1', '2', '3'],     ['a', 'b', 'c'], ];     function setGreek(&$output) {     $output = ['α', 'β', 'ɣ', 'δ']; }   setGreek($values[]);   print_r($values);

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.340.0270.06319.15
5.4.320.0230.05018.98
5.4.310.0300.06318.95
5.4.300.0270.06719.19
5.4.290.0330.06719.09
5.4.280.0230.07019.22
5.4.270.0330.07018.87
5.4.260.0130.05319.22
5.4.250.0200.05319.30
5.4.240.0170.05718.94
5.4.230.0270.05718.87
5.4.220.0270.07019.21
5.4.210.0270.07018.98
5.4.200.0170.04718.97
5.4.190.0230.03719.07
5.4.180.0230.07718.98
5.4.170.0230.06319.08
5.4.160.0170.04719.20
5.4.150.0130.04318.85
5.4.140.0230.03716.68
5.4.130.0100.04016.50
5.4.120.0230.02316.49
5.4.110.0130.03716.57
5.4.100.0130.03716.45
5.4.90.0130.03316.46
5.4.80.0130.03316.54
5.4.70.0130.04016.38
5.4.60.0100.04316.19
5.4.50.0200.02716.23
5.4.40.0230.03316.55
5.4.30.0130.03716.16
5.4.20.0130.04016.48
5.4.10.0170.03716.32
5.4.00.0170.03315.80
5.3.290.0230.04314.57
5.3.280.0300.07014.45
5.3.270.0330.06714.63
5.3.260.0200.07314.44
5.3.250.0130.05714.46
5.3.240.0130.03714.59
5.3.230.0100.04014.48
5.3.220.0170.03714.43
5.3.210.0070.04314.59
5.3.200.0100.04014.55
5.3.190.0130.04014.55
5.3.180.0170.03314.51
5.3.170.0170.04314.51
5.3.160.0100.04014.59
5.3.150.0200.03014.44
5.3.140.0130.03714.41
5.3.130.0100.04014.52
5.3.120.0100.04314.42
5.3.110.0070.04714.50
5.3.100.0130.04013.99
5.3.90.0130.04013.86
5.3.80.0130.03713.81
5.3.70.0200.03314.10
5.3.60.0170.03313.99
5.3.50.0170.03714.03
5.3.40.0130.04013.79
5.3.30.0170.03013.75
5.3.20.0270.02713.66
5.3.10.0200.05713.56
5.3.00.0200.03013.54
5.2.170.0130.02711.82
5.2.160.0070.03311.82
5.2.150.0130.02711.82
5.2.140.0070.03311.82
5.2.130.0130.02711.82
5.2.120.0130.02711.82
5.2.110.0170.02311.82
5.2.100.0130.02711.82
5.2.90.0100.02711.82
5.2.80.0130.03311.82
5.2.70.0130.02711.82
5.2.60.0130.03011.82
5.2.50.0130.03711.82
5.2.40.0230.04311.82
5.2.30.0130.05011.82
5.2.20.0170.05311.82
5.2.10.0200.05311.82
5.2.00.0270.05011.82
5.1.60.0200.03711.82
5.1.50.0200.04011.82
5.1.40.0170.02711.82
5.1.30.0130.02711.82
5.1.20.0170.04011.82
5.1.10.0070.05711.82
5.1.00.0130.03711.82
5.0.50.0100.03711.82
5.0.40.0100.03011.82
5.0.30.0130.05711.82
5.0.20.0130.03311.82
5.0.10.0130.04711.82
5.0.00.0100.06311.82
4.4.90.0100.03011.82
4.4.80.0030.01711.82
4.4.70.0100.03011.82
4.4.60.0130.03311.82
4.4.50.0130.03711.82
4.4.40.0100.04711.82
4.4.30.0100.02011.82
4.4.20.0070.03311.82
4.4.10.0070.03311.82
4.4.00.0100.05311.82
4.3.110.0100.02311.82
4.3.100.0100.03011.82
4.3.90.0030.03311.82
4.3.80.0070.03711.82
4.3.70.0070.03311.82
4.3.60.0070.02711.82
4.3.50.0100.03711.82
4.3.40.0130.05711.82
4.3.30.0000.03711.82
4.3.20.0070.03311.82
4.3.10.0070.03311.82
4.3.00.0070.03311.82

preferences:
140.3 ms | 1394 KiB | 7 Q