3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array ( 0 => Array ( 'name' => 'Nakiya', 'country' => 'USA', 'id' => 3, ), 1 => Array ( 'name' => 'Taylor', 'country' => 'UK', 'id' => 2, ), 2 => Array ( 'name' => 'Jack', 'country' => 'France', 'id' => 1, ) ); array_multisort (array_column($array, 'id'), SORT_ASC, $array); print_r($array);

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.4.30.0100.01018.70
8.4.20.0120.00918.95
8.4.10.0060.00917.33
8.3.150.0140.00417.24
8.3.140.0060.00317.22
8.3.130.0030.00618.40
8.3.120.0030.00718.75
8.3.110.0060.00318.34
8.3.100.0080.00016.45
8.3.90.0060.00318.16
8.3.80.0060.00318.31
8.3.70.0140.00318.18
8.3.60.0110.00318.08
8.3.50.0070.00917.07
8.3.40.0120.00318.59
8.3.30.0070.00718.46
8.3.20.0060.00321.31
8.3.10.0080.00022.09
8.3.00.0000.00722.43
8.2.270.0100.01016.33
8.2.260.0070.01117.25
8.2.250.0110.00716.48
8.2.240.0070.01018.95
8.2.230.0000.00820.94
8.2.220.0040.00724.06
8.2.210.0000.00826.77
8.2.200.0040.00418.16
8.2.190.0090.00618.16
8.2.180.0070.00718.18
8.2.170.0040.01122.96
8.2.160.0030.01022.31
8.2.150.0040.00424.18
8.2.140.0100.00324.66
8.2.130.0060.00326.16
8.2.120.0040.00426.16
8.2.110.0060.01320.26
8.2.100.0070.00717.78
8.2.90.0080.00017.63
8.2.80.0040.00417.97
8.2.70.0040.00417.92
8.2.60.0080.00018.03
8.2.50.0050.00318.10
8.2.40.0030.00521.08
8.2.30.0000.00819.10
8.2.20.0040.00417.93
8.2.10.0070.00019.42
8.2.00.0040.00419.22
8.1.310.0120.00316.23
8.1.300.0130.00615.99
8.1.290.0060.00318.88
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.69
8.1.230.0080.00420.86
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0030.00617.10
8.1.180.0030.00618.10
8.1.170.0080.00018.49
8.1.160.0000.00718.80
8.1.150.0000.00818.86
8.1.140.0030.00522.05
8.1.130.0070.00020.10
8.1.120.0000.00717.36
8.1.110.0040.00417.34
8.1.100.0100.00017.23
8.1.90.0050.00317.30
8.1.80.0000.00717.27
8.1.70.0060.00317.37
8.1.60.0060.00317.40
8.1.50.0080.00317.45
8.1.40.0000.00817.39
8.1.30.0030.00917.54
8.1.20.0040.00417.50
8.1.10.0040.00417.44
8.1.00.0040.00417.29
8.0.300.0000.00821.54
8.0.290.0000.00816.63
8.0.280.0030.00318.38
8.0.270.0030.00317.12
8.0.260.0030.00320.29
8.0.250.0030.00316.83
8.0.240.0070.00016.87
8.0.230.0030.00316.80
8.0.220.0030.00316.80
8.0.210.0030.00316.82
8.0.200.0030.00316.89
8.0.190.0080.00016.77
8.0.180.0040.00416.85
8.0.170.0030.00616.86
8.0.160.0040.00416.86
8.0.150.0070.00016.79
8.0.140.0030.00516.79
8.0.130.0000.00513.27
8.0.120.0080.00016.79
8.0.110.0000.00716.70
8.0.100.0070.00016.75
8.0.90.0000.00816.77
8.0.80.0100.00516.78
8.0.70.0020.00516.64
8.0.60.0000.00716.76
8.0.50.0000.00716.84
8.0.30.0110.00517.07
8.0.20.0100.01217.04
8.0.10.0040.00416.99
8.0.00.0110.00616.52
7.4.330.0000.00615.55
7.4.320.0000.00616.51
7.4.300.0000.00616.43
7.4.290.0000.00716.36
7.4.280.0080.00016.40
7.4.270.0080.00016.44
7.4.260.0030.00313.20
7.4.250.0030.00516.41
7.4.240.0000.00816.40
7.4.230.0040.00416.63
7.4.220.0000.00716.38
7.4.210.0070.00816.49
7.4.200.0030.00316.59
7.4.140.0150.00917.86
7.4.130.0060.01116.60
7.4.120.0100.00716.35
7.4.110.0030.02116.47
7.4.100.0070.01016.39
7.4.90.0110.00716.38
7.4.80.0170.00319.39
7.4.70.0040.01216.45
7.4.60.0070.01016.61
7.4.50.0070.01016.40
7.4.40.0110.00516.43
7.4.10.0060.01214.82
7.4.00.0110.00414.95
7.3.330.0040.00416.13
7.3.320.0050.00013.00
7.3.310.0050.00316.20
7.3.300.0070.00016.12
7.3.290.0110.00516.13
7.3.260.0090.01116.26
7.3.240.0110.00916.21
7.3.230.0090.00816.50
7.3.210.0100.01316.52
7.3.200.0030.01316.06
7.3.190.0140.01016.04
7.3.180.0040.01216.03
7.3.170.0070.01516.50
7.3.160.0150.00016.32
7.3.130.0090.00914.63
7.3.120.0050.01314.34
7.3.110.0100.00814.57
7.3.100.0060.00914.49
7.3.90.0090.00614.38
7.3.80.0100.00914.44
7.3.70.0060.00714.28
7.3.60.0060.00814.48
7.3.50.0070.00614.33
7.3.40.0070.00714.34
7.3.30.0070.00714.47
7.3.20.0300.00715.39
7.3.10.0160.00515.42
7.3.00.0070.01015.32
7.2.330.0180.00616.53
7.2.320.0000.01716.45
7.2.310.0100.00616.16
7.2.300.0070.01416.42
7.2.290.0100.01016.53
7.2.260.0070.01114.39
7.2.250.0080.01014.61
7.2.240.0030.01414.81
7.2.230.0080.00714.79
7.2.220.0100.00614.67
7.2.210.0150.00714.52
7.2.200.0060.00914.60
7.2.190.0050.00814.64
7.2.180.0080.00614.50
7.2.170.0060.00814.45
7.2.160.0070.00614.70
7.2.150.0180.00615.27
7.2.140.0170.01115.28
7.2.130.0120.00915.41
7.2.120.0120.01115.41
7.2.110.0110.00715.26
7.2.100.0160.00815.24
7.2.90.0140.00715.13
7.2.80.0180.00615.27
7.2.70.0100.01215.25
7.2.60.0160.00615.26
7.2.50.0170.00615.22
7.2.40.0120.00815.33
7.2.30.0160.00815.44
7.2.20.0120.00915.26
7.2.10.0150.01115.42
7.2.00.0150.00715.36
7.1.330.0060.00715.68
7.1.320.0200.00514.32
7.1.310.0100.00814.47
7.1.300.0140.00614.71
7.1.290.0230.00814.66
7.1.280.0140.00514.59
7.1.270.0150.00514.61
7.1.260.0110.00714.70
7.1.250.0100.00814.36
7.1.240.0030.00715.64
7.1.230.0040.00415.67
7.1.220.0000.01315.64
7.1.210.0070.00715.65
7.1.200.0040.01115.09
7.1.190.0030.00715.82
7.1.180.0090.00315.66
7.1.170.0030.01015.41
7.1.160.0000.01215.48
7.1.150.0030.01015.31
7.1.140.0000.00915.45
7.1.130.0000.01615.39
7.1.120.0040.01115.69
7.1.110.0120.00615.56
7.1.100.0100.00315.43
7.1.90.0040.00815.48
7.1.80.0000.01315.14
7.1.70.0050.00315.50
7.1.60.0000.01315.66
7.1.50.0070.00715.39
7.1.40.0030.01115.27
7.1.30.0070.00415.42
7.1.20.0100.00315.44
7.1.10.0060.00315.49
7.1.00.0070.00715.40

preferences:
92.56 ms | 403 KiB | 5 Q