3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ "configuration_id" => 10, "id" => 1, "optionNumber" => 3, "optionActive" => 1, "lastUpdated" => "2010-03-17 15:44:12" ], [ "configuration_id" => 9, "id" => 1, "optionNumber" => 2, "optionActive" => 1, "lastUpdated" => "2010-03-17 15:44:12" ], [ "configuration_id" => 8, "id" => 1, "optionNumber" => 1, "optionActive" => 1, "lastUpdated" => "2010-03-17 15:44:12" ] ]; usort($array, fn($a, $b) => $a['optionNumber'] <=> $b['optionNumber'] ); var_export($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.70.0120.00416.58
8.3.60.0120.00618.52
8.3.50.0040.01118.39
8.3.40.0070.00718.89
8.3.30.0140.00018.95
8.3.20.0060.00324.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.190.0160.00616.63
8.2.180.0160.00025.92
8.2.170.0080.00818.91
8.2.160.0070.01022.96
8.2.150.0000.00825.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0080.00018.89
8.2.110.0100.00019.24
8.2.100.0090.00317.91
8.2.90.0060.00319.41
8.2.80.0050.00319.11
8.2.70.0000.00817.75
8.2.60.0050.00318.01
8.2.50.0030.00618.07
8.2.40.0050.00318.16
8.2.30.0030.00618.04
8.2.20.0040.00420.33
8.2.10.0000.00718.13
8.2.00.0040.00419.33
8.1.280.0040.01225.92
8.1.270.0070.00023.99
8.1.260.0080.00026.35
8.1.250.0030.01228.09
8.1.240.0060.00322.14
8.1.230.0110.00020.97
8.1.220.0080.00017.79
8.1.210.0030.00518.89
8.1.200.0000.00917.48
8.1.190.0090.00017.35
8.1.180.0000.00918.10
8.1.170.0060.00318.63
8.1.160.0070.00018.92
8.1.150.0030.00518.53
8.1.140.0000.00717.53
8.1.130.0000.00717.42
8.1.120.0070.00518.09
8.1.110.0050.00718.07
8.1.100.0080.00517.99
8.1.90.0070.00518.11
8.1.80.0070.00418.10
8.1.70.0080.00318.08
8.1.60.0050.01018.18
8.1.50.0110.00418.11
8.1.40.0110.00418.19
8.1.30.0060.00818.29
8.1.20.0090.00518.29
8.1.10.0090.00518.18
8.1.00.0110.00618.08
8.0.300.0000.00820.09
8.0.290.0000.00816.75
8.0.280.0030.00318.47
8.0.270.0000.00716.71
8.0.260.0030.00316.77
8.0.250.0060.00617.44
8.0.240.0050.00717.48
8.0.230.0090.00317.54
8.0.220.0020.00817.40
8.0.210.0050.00617.48
8.0.200.0080.00417.42
8.0.190.0060.00717.45
8.0.180.0060.00817.43
8.0.170.0040.00817.43
8.0.160.0070.00617.47
8.0.150.0040.00717.46
8.0.140.0070.00417.38
8.0.130.0100.00417.48
8.0.120.0050.00717.38
8.0.110.0030.00917.39
8.0.100.0110.00117.35
8.0.90.0120.00117.46
8.0.80.0030.00917.41
8.0.70.0080.00517.46
8.0.60.0040.00817.36
8.0.50.0070.00617.42
8.0.30.0050.00817.44
8.0.20.0070.00517.50
8.0.10.0080.00517.54
7.4.330.0010.00615.55
7.4.320.0110.00117.06
7.4.300.0070.00417.11
7.4.290.0090.00417.01
7.4.280.0090.00616.83
7.4.270.0100.00516.84
7.4.260.0100.00616.93
7.4.250.0120.00516.96
7.4.240.0100.00416.98
7.4.230.0120.00416.86
7.4.220.0090.00516.79
7.4.210.0110.00116.85
7.4.200.0090.00216.79
7.4.190.0090.00516.89
7.4.180.0040.00816.84
7.4.160.0090.00316.81
7.4.150.0080.00616.73
7.4.140.0090.00516.82
7.4.130.0080.00416.71
7.4.120.0070.00416.76
7.4.110.0070.00316.71
7.4.100.0080.00316.82
7.4.90.0080.00516.68
7.4.80.0060.00716.86
7.4.70.0100.00316.90
7.4.60.0070.00416.68
7.4.50.0080.00416.74
7.4.40.0060.00616.70
7.4.30.0070.00716.74
7.4.20.0140.00016.68
7.4.10.0110.00416.85
7.4.00.0110.00316.92

preferences:
17.91 ms | 401 KiB | 5 Q