3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array ( 0 => Array ( 'configuration_id' => 10, 'id' => 1, 'optionNumber' => 3, 'optionActive' => 1, 'lastUpdated' => '2010-03-17 15:44:12', ), 1 => Array ( 'configuration_id' => 9, 'id' => 1, 'optionNumber' => 2, 'optionActive' => 1, 'lastUpdated' => '2010-03-17 15:44:12', ), 2 => Array ( 'configuration_id' => 8, 'id' => 1, 'optionNumber' => 1, 'optionActive' => 1, 'lastUpdated' => '2010-03-17 15:44:12', ) ); array_multisort(array_map(function($element) { return $element['optionNumber']; }, $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.3.130.0040.00418.28
8.3.120.0040.00420.65
8.3.110.0000.00820.94
8.3.100.0000.00824.06
8.3.90.0070.01326.77
8.3.80.0030.00716.78
8.3.70.0130.00716.58
8.3.60.0110.00718.43
8.3.50.0050.01117.35
8.3.40.0090.00918.76
8.3.30.0120.00318.54
8.3.20.0040.00421.83
8.3.10.0090.00021.76
8.3.00.0030.00623.66
8.2.250.0040.00416.85
8.2.240.0040.00417.21
8.2.230.0070.01122.58
8.2.220.0090.00037.54
8.2.210.0140.00426.77
8.2.200.0090.00016.50
8.2.190.0090.01216.58
8.2.180.0070.00716.63
8.2.170.0110.00422.96
8.2.160.0090.00620.52
8.2.150.0100.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0110.00720.49
8.2.100.0110.00017.72
8.2.90.0030.00518.16
8.2.80.0000.00720.52
8.2.70.0050.00317.63
8.2.60.0000.00817.80
8.2.50.0070.00418.07
8.2.40.0070.00418.09
8.2.30.0070.00018.19
8.2.20.0080.00018.21
8.2.10.0070.00019.45
8.2.00.0030.00319.32
8.1.300.0050.00517.96
8.1.290.0050.00530.84
8.1.280.0040.01125.92
8.1.270.0050.00224.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0100.00021.75
8.1.230.0040.00820.93
8.1.220.0060.00317.78
8.1.210.0080.00824.98
8.1.200.0060.00317.48
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0000.00718.91
8.1.150.0000.00718.78
8.1.140.0040.00418.92
8.1.130.0000.00718.89
8.1.120.0000.00717.55
8.1.110.0000.00817.34
8.1.100.0110.00117.46
8.1.90.0050.00717.40
8.1.80.0100.00217.41
8.1.70.0050.00817.43
8.1.60.0050.00817.48
8.1.50.0090.00417.47
8.1.40.0090.00517.54
8.1.30.0070.00617.57
8.1.20.0080.00617.66
8.1.10.0080.00417.58
8.1.00.0070.00717.41
8.0.300.0000.00820.12
8.0.290.0080.00016.63
8.0.280.0040.00418.36
8.0.270.0080.00016.67
8.0.260.0030.00318.45
8.0.250.0000.00716.97
8.0.240.0000.00716.92
8.0.230.0090.00216.81
8.0.220.0040.00716.72
8.0.210.0040.00616.80
8.0.200.0080.00316.94
8.0.190.0050.00716.86
8.0.180.0050.00716.81
8.0.170.0050.00916.93
8.0.160.0020.01016.91
8.0.150.0070.00416.80
8.0.140.0050.00716.85
8.0.130.0090.00215.02
8.0.120.0060.00616.81
8.0.110.0090.00216.82
8.0.100.0060.00616.85
8.0.90.0100.00216.82
8.0.80.0050.01216.85
8.0.70.0070.00416.78
8.0.60.0040.00716.84
8.0.50.0060.00616.84
8.0.30.0120.00517.01
8.0.20.0100.00716.92
8.0.10.0050.00716.86
8.0.00.0090.00916.82
7.4.330.0000.00515.55
7.4.320.0000.00616.52
7.4.300.0050.00616.47
7.4.290.0060.00716.46
7.4.280.0080.00316.47
7.4.270.0050.00516.46
7.4.260.0030.00516.52
7.4.250.0050.00316.47
7.4.240.0040.00516.50
7.4.230.0030.00616.43
7.4.220.0080.00116.37
7.4.210.0080.00716.49
7.4.200.0060.00316.47
7.4.190.0000.01016.47
7.4.180.0080.00316.24
7.4.160.0050.00916.23
7.4.150.0080.00316.13
7.4.140.0120.00417.00
7.4.130.0060.00916.37
7.4.120.0080.00716.43
7.4.110.0050.00916.23
7.4.100.0070.00716.30
7.4.90.0070.00816.23
7.4.80.0070.00716.23
7.4.70.0130.00516.24
7.4.60.0100.00716.32
7.4.50.0080.00716.40
7.4.40.0080.00816.38
7.4.30.0140.00216.25
7.4.20.0120.00816.36
7.4.10.0100.00716.30
7.4.00.0080.00915.92
7.3.330.0070.00214.58
7.3.320.0060.00414.75
7.3.310.0050.00516.26
7.3.300.0060.00616.19
7.3.290.0090.00116.16
7.3.280.0070.00816.17
7.3.270.0100.00516.23
7.3.260.0080.01116.33
7.3.250.0120.00216.06
7.3.240.0150.00016.17
7.3.230.0110.00516.24
7.3.220.0120.00316.02
7.3.210.0120.00416.11
7.3.200.0150.00316.28
7.3.190.0070.01016.31
7.3.180.0100.00716.29
7.3.170.0090.00816.30
7.3.160.0120.00616.27
7.3.150.0100.00816.24
7.3.140.0060.01216.27
7.3.130.0090.00816.28
7.3.120.0050.01216.10
7.3.110.0110.00615.81
7.3.100.0100.00615.87
7.3.90.0080.00715.92
7.3.80.0070.00915.86
7.3.70.0090.00515.83
7.3.60.0090.00715.58
7.3.50.0080.00715.50
7.3.40.0100.00615.53
7.3.30.0080.00715.53
7.3.20.0100.00816.49
7.3.10.0090.00816.36
7.3.00.0090.00616.43
7.2.340.0090.00616.26
7.2.330.0080.00816.19
7.2.320.0070.01216.28
7.2.310.0100.00816.44
7.2.300.0090.00916.32
7.2.290.0040.01416.45
7.2.280.0140.00516.43
7.2.270.0090.00916.31
7.2.260.0110.00816.41
7.2.250.0100.00816.27
7.2.240.0070.01116.00
7.2.230.0100.00615.95
7.2.220.0080.00815.98
7.2.210.0090.00815.97
7.2.200.0070.00915.96
7.2.190.0060.01015.77
7.2.180.0080.00715.73
7.2.170.0100.00615.73
7.2.160.0100.00715.92
7.2.150.0100.00716.54
7.2.140.0150.00816.65
7.2.130.0060.01016.51
7.2.120.0090.01116.60
7.2.110.0080.00916.57
7.2.100.0070.01016.61
7.2.90.0110.00616.55
7.2.80.0080.00816.59
7.2.70.0080.00916.69
7.2.60.0100.00716.58
7.2.50.0110.00716.53
7.2.40.0100.00716.60
7.2.30.0090.00716.67
7.2.20.0080.00816.64
7.2.10.0120.00716.50
7.2.00.0090.00716.62
7.1.330.0100.00815.57
7.1.320.0110.00615.63
7.1.310.0110.00815.55
7.1.300.0100.00815.57
7.1.290.0080.00915.54
7.1.280.0090.00815.59
7.1.270.0090.00915.58
7.1.260.0120.00415.55
7.1.250.0110.00715.55
7.1.240.0120.00815.76
7.1.230.0100.01115.81
7.1.220.0110.00915.77
7.1.210.0090.00915.79
7.1.200.0100.00815.83
7.1.190.0100.00815.74
7.1.180.0110.00715.68
7.1.170.0100.01015.75
7.1.160.0110.00915.69
7.1.150.0100.00715.77
7.1.140.0100.00715.72
7.1.130.0120.01015.69
7.1.120.0110.00715.73
7.1.110.0150.00715.83
7.1.100.0100.00815.71
7.1.90.0110.01015.75
7.1.80.0110.00715.71
7.1.70.0100.00815.74
7.1.60.0100.00815.75
7.1.50.0090.00915.71
7.1.40.0100.00915.79
7.1.30.0110.00815.72
7.1.20.0110.00715.87
7.1.10.0080.01115.67
7.1.00.0120.00615.72
5.6.160.0170.00216.74
5.4.450.0060.00413.90

preferences:
27.72 ms | 403 KiB | 5 Q