3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array ( 0 => Array ( 'user_id' => 10, 'id' => 1, 'Number' => 3, 'Active' => 1, 'Updated' => '2010-03-17 15:44:12', ), 1 => Array ( 'user_id' => 9, 'id' => 2, 'Number' => 2, 'Active' => 1, 'Updated' => '2010-03-17 15:44:12', ), 2 => Array ( 'user_id' => 8, 'id' => 3, 'Number' => 1, 'Active' => 1, 'Updated' => '2010-03-17 15:44:12', ) ); array_multisort(array_map(function($element) { return $element['user_id']; }, $array), 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.0030.00620.61
8.4.20.0110.00718.76
8.4.10.0060.00317.90
8.3.150.0100.00717.36
8.3.140.0140.00320.71
8.3.130.0030.00518.54
8.3.120.0000.01019.10
8.3.110.0090.00020.94
8.3.100.0070.00324.06
8.3.90.0040.00426.77
8.3.80.0030.00616.62
8.3.70.0080.00818.27
8.3.60.0140.00718.41
8.3.50.0110.00519.27
8.3.40.0030.01518.84
8.3.30.0140.00318.72
8.3.20.0080.00020.91
8.3.10.0050.00321.83
8.3.00.0060.00322.52
8.2.270.0100.00717.29
8.2.260.0030.00616.86
8.2.250.0000.00816.99
8.2.240.0030.01317.26
8.2.230.0030.00722.58
8.2.220.0070.00337.54
8.2.210.0180.00026.77
8.2.200.0070.00716.75
8.2.190.0120.00316.75
8.2.180.0130.00318.41
8.2.170.0070.01022.96
8.2.160.0110.00322.13
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0020.00521.04
8.2.110.0060.00320.22
8.2.100.0070.00417.78
8.2.90.0030.00617.75
8.2.80.0000.00918.89
8.2.70.0050.00317.63
8.2.60.0040.00417.63
8.2.50.0030.00617.63
8.2.40.0030.00618.10
8.2.30.0040.00418.14
8.2.20.0040.00418.02
8.2.10.0040.00419.32
8.2.00.0040.00419.32
8.1.310.0090.00916.08
8.1.300.0000.00918.64
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0050.00323.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.78
8.1.230.0060.00624.03
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0090.00017.35
8.1.180.0040.00918.10
8.1.170.0050.00318.59
8.1.160.0000.00818.95
8.1.150.0000.00718.80
8.1.140.0040.00420.21
8.1.130.0040.00420.19
8.1.120.0040.00417.47
8.1.110.0040.00417.42
8.1.100.0040.00417.45
8.1.90.0030.00817.40
8.1.80.0050.00317.38
8.1.70.0070.00017.47
8.1.60.0040.00417.55
8.1.50.0000.00817.59
8.1.40.0050.00317.55
8.1.30.0000.00917.76
8.1.20.0050.00317.59
8.1.10.0000.00717.50
8.1.00.0030.00617.59
8.0.300.0030.00319.90
8.0.290.0000.00716.75
8.0.280.0030.00318.43
8.0.270.0040.00416.81
8.0.260.0000.00619.94
8.0.250.0050.00216.89
8.0.240.0030.00316.85
8.0.230.0030.00316.80
8.0.220.0050.00316.70
8.0.210.0030.00316.87
8.0.200.0030.00316.88
8.0.190.0040.00316.87
8.0.180.0030.00516.89
8.0.170.0040.00416.84
8.0.160.0040.00416.89
8.0.150.0030.00516.85
8.0.140.0030.00516.89
8.0.130.0000.00613.35
8.0.120.0000.00716.90
8.0.110.0070.00016.85
8.0.100.0040.00416.94
8.0.90.0060.00316.79
8.0.80.0070.00816.90
8.0.70.0020.00516.96
8.0.60.0000.00716.79
8.0.50.0000.00816.81
8.0.30.0070.00716.89
8.0.20.0060.01317.21
8.0.10.0070.00016.90
8.0.00.0100.00716.90
7.4.330.0000.00415.55
7.4.320.0030.00316.42
7.4.300.0060.00016.42
7.4.290.0050.00316.46
7.4.280.0040.00416.63
7.4.270.0060.00016.50
7.4.260.0070.00016.57
7.4.250.0040.00416.51
7.4.240.0050.00216.63
7.4.230.0000.00716.70
7.4.220.0060.00116.39
7.4.210.0080.00916.56
7.4.200.0000.00716.69
7.4.130.0100.00816.58
7.4.120.0090.00916.64
7.4.110.0110.00716.60
7.4.100.0090.01816.60
7.4.90.0120.00616.48
7.4.80.0170.00719.39
7.4.70.0000.01516.56
7.4.60.0090.00916.38
7.4.50.0120.00316.61
7.4.40.0100.00716.44
7.4.00.0040.01114.90
7.3.330.0030.00616.40
7.3.320.0000.00613.16
7.3.310.0020.00516.16
7.3.300.0000.00616.23
7.3.290.0000.00716.28
7.3.280.0030.01316.28
7.3.260.0130.00616.41
7.3.240.0080.00916.53
7.3.230.0090.00916.36
7.3.210.0040.01416.47
7.3.200.0100.00716.24
7.3.190.0060.00916.53
7.3.180.0060.00916.43
7.3.170.0080.01116.28
7.3.160.0090.00616.36
7.3.100.0090.00314.75
7.3.90.0060.00614.54
7.3.80.0070.00714.48
7.3.70.0090.00614.70
7.3.60.0070.00714.80
7.3.50.0060.00614.65
7.3.40.0130.00014.60
7.3.30.0060.00614.82
7.3.20.0030.01014.91
7.3.10.0090.00514.72
7.3.00.0110.00414.63
7.2.330.0100.00816.57
7.2.320.0060.01616.45
7.2.310.0000.01616.46
7.2.300.0110.01216.55
7.2.290.0170.00016.61
7.2.230.0030.01014.96
7.2.220.0060.00915.12
7.2.210.0080.00715.07
7.2.200.0060.01015.19
7.2.190.0100.00314.82
7.2.180.0100.00314.85
7.2.170.0070.00714.66
7.2.160.0030.01015.02
7.2.150.0000.01414.85
7.2.140.0120.00314.89
7.2.130.0070.01115.01
7.2.120.0110.00314.90
7.2.110.0130.00314.80
7.2.100.0090.00615.17
7.2.90.0100.00514.96
7.2.80.0030.01214.92
7.2.70.0090.00615.04
7.2.60.0080.00615.21
7.2.50.0070.00714.73
7.2.40.0110.00614.64
7.2.30.0060.01015.13
7.2.20.0090.00615.08
7.2.10.0040.01114.96
7.2.00.0000.01314.99
7.1.320.0090.00313.80
7.1.310.0080.00613.88
7.1.300.0000.01313.95
7.1.290.0000.01513.91
7.1.280.0090.00314.03
7.1.270.0030.00913.98
7.1.260.0050.01014.09
7.1.250.0040.00813.88

preferences:
33.82 ms | 403 KiB | 5 Q