3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( '682' => Array ( 'nature' => 682, 'totalGames' => 3, 'category' => 'super' ), '707' => Array ( 'nature' => 707, 'totalGames' => 2, 'category' => 'event' ), '728' => Array ( 'nature' => 728, 'totalGames' => 2, 'category' => 'event' ) ); uasort($arr,function($a,$b){ return $b['totalGames'] - $a['totalGames']; }); print_r(current($arr));

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)
8.3.60.0120.00616.50
8.3.50.0090.01021.99
8.3.40.0090.00618.75
8.3.30.0070.00718.72
8.3.20.0040.00420.16
8.3.10.0080.00023.65
8.3.00.0000.00819.85
8.2.180.0040.01125.92
8.2.170.0110.00422.96
8.2.160.0110.00320.22
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0110.00326.16
8.2.120.0040.00420.95
8.2.110.0050.00521.05
8.2.100.0090.00317.91
8.2.90.0030.00618.28
8.2.80.0060.00318.22
8.2.70.0040.00417.74
8.2.60.0050.00317.92
8.2.50.0000.00818.09
8.2.40.0000.00820.52
8.2.30.0030.00520.67
8.2.20.0060.00317.65
8.2.10.0040.00418.13
8.2.00.0080.00018.18
8.1.280.0070.01325.92
8.1.270.0000.00820.06
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0090.00019.26
8.1.230.0040.00820.91
8.1.220.0000.00817.74
8.1.210.0060.00418.77
8.1.200.0000.00817.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0110.00018.52
8.1.160.0070.00020.67
8.1.150.0070.00018.93
8.1.140.0030.00519.57
8.1.130.0000.00717.57
8.1.120.0040.00417.38
8.1.110.0040.00417.48
8.1.100.0020.00517.42
8.1.90.0040.00417.48
8.1.80.0040.00417.36
8.1.70.0000.00817.41
8.1.60.0000.00817.61
8.1.50.0060.00317.50
8.1.40.0050.00317.41
8.1.30.0030.00517.58
8.1.20.0040.00417.62
8.1.10.0000.00817.60
8.1.00.0030.00717.54
8.0.300.0040.00419.98
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0030.00517.11
8.0.260.0000.00617.18
8.0.250.0060.00016.79
8.0.240.0000.00716.92
8.0.230.0030.00616.92
8.0.220.0000.00816.89
8.0.210.0040.00416.86
8.0.200.0030.00316.98
8.0.190.0040.00416.96
8.0.180.0000.00716.88
8.0.170.0040.00716.91
8.0.160.0040.00416.79
8.0.150.0050.00216.80
8.0.140.0050.00316.84
8.0.130.0030.00313.31
8.0.120.0080.00016.86
8.0.110.0070.00016.91
8.0.100.0000.00716.78
8.0.90.0040.00416.78
8.0.80.0030.01216.94
8.0.70.0040.00416.79
8.0.60.0000.00816.91
8.0.50.0070.00016.90
8.0.30.0030.01717.10
8.0.20.0070.01117.40
8.0.10.0000.00717.07
8.0.00.0100.00816.63
7.4.330.0020.00216.83
7.4.320.0030.00316.45
7.4.300.0030.00316.49
7.4.290.0070.00016.50
7.4.280.0060.00516.50
7.4.270.0000.00816.59
7.4.260.0030.00316.57
7.4.250.0040.00416.51
7.4.240.0030.00316.48
7.4.230.0040.00416.38
7.4.220.0110.00816.34
7.4.210.0080.00516.57
7.4.200.0000.00716.58
7.4.160.0100.00716.49
7.4.150.0090.01217.40
7.4.140.0110.00917.86
7.4.130.0070.01316.53
7.4.120.0100.01416.47
7.4.110.0120.00616.29
7.4.100.0110.00616.44
7.4.90.0040.01416.71
7.4.80.0150.00919.39
7.4.70.0090.00916.53
7.4.60.0070.01016.59
7.4.50.0070.01016.46
7.4.40.0170.01016.09
7.4.30.0070.01416.61
7.4.00.0030.01014.99
7.3.330.0030.00313.16
7.3.320.0060.00013.29
7.3.310.0040.00416.25
7.3.300.0040.00416.30
7.3.290.0100.00616.24
7.3.280.0110.00816.18
7.3.270.0080.00917.40
7.3.260.0150.00316.45
7.3.250.0170.00416.42
7.3.240.0090.01116.33
7.3.230.0100.00716.39
7.3.210.0110.00616.29
7.3.200.0100.00616.27
7.3.190.0060.00916.29
7.3.180.0130.01016.41
7.3.170.0140.00716.32
7.3.160.0080.00816.20
7.3.10.0120.00616.61
7.3.00.0080.01216.31
7.2.330.0070.01316.72
7.2.320.0130.00616.62
7.2.310.0160.00316.45
7.2.300.0110.00616.71
7.2.290.0090.00916.79
7.2.130.0220.00316.44
7.2.120.0170.01016.37
7.2.110.0150.00916.51
7.2.100.0180.00816.55
7.2.90.0160.00616.58
7.2.80.0140.01016.26
7.2.70.0120.01216.57
7.2.60.0150.00416.76
7.2.50.0120.01516.45
7.2.40.0100.01016.54
7.2.30.0090.00916.73
7.2.20.0090.00916.63
7.2.10.0120.00616.49
7.2.00.0070.00716.71
7.1.250.0140.01015.66
7.1.200.0060.00915.68
7.1.70.0070.00517.00
7.1.60.0120.00319.13
7.1.50.0070.01316.68
7.1.00.0070.07322.52
7.0.200.0060.00316.40
7.0.60.0100.08020.00
7.0.50.0030.04717.88
7.0.40.0100.08320.13
7.0.30.0270.03720.10
7.0.20.0330.07320.12
7.0.10.0070.06720.24
7.0.00.0100.08320.32
5.6.280.0000.03320.82
5.6.210.0030.08320.63
5.6.200.0000.04718.12
5.6.190.0070.08720.63
5.6.180.0000.07720.55
5.6.170.0200.08720.39
5.6.160.0130.05020.62
5.6.150.0030.08318.18
5.6.140.0070.07018.27
5.6.130.0030.04318.15
5.6.120.0070.08721.14
5.6.110.0000.07721.13
5.6.100.0170.07020.99
5.6.90.0070.08021.02
5.6.80.0130.07320.38
5.5.350.4130.03720.36
5.5.340.0070.04318.05
5.5.330.0030.06320.37
5.5.320.0230.04320.23
5.5.310.0130.04720.30
5.5.300.0070.05718.00
5.5.290.0030.04317.96
5.5.280.0000.07720.65
5.5.270.0070.05320.72
5.5.260.0070.08320.86
5.5.250.0070.08720.62
5.5.240.0230.06320.19

preferences:
38.71 ms | 401 KiB | 5 Q