3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['ID' => 1, 'title' => 'Boring Meeting', 'date_start' => '2010-07-30', 'event_type' => 'meeting', 'state' => 'new-york'], ['ID' => 2, 'title' => 'Find My Stapler', 'date_start' => '2010-07-22', 'event_type' => 'meeting', 'state' => 'new-york'], ['ID' => 3, 'title' => 'Mario Party', 'date_start' => '2010-07-22', 'event_type' => 'party', 'state' => 'new-york'], ['ID' => 4, 'title' => 'Duct Tape Party', 'date_start' => '2010-07-28', 'event_type' => 'party', 'state' => 'california'] ]; usort($array, function($a, $b) { return [$a['state'], $a['event_type'], $a['date_start']] <=> [$b['state'], $b['event_type'], $b['date_start']]; }); 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.0140.00016.75
8.3.60.0140.00718.41
8.3.50.0060.00916.35
8.3.40.0040.01818.70
8.3.30.0150.00018.62
8.3.20.0080.00021.83
8.3.10.0080.00020.54
8.3.00.0030.00519.25
8.2.190.0100.01016.88
8.2.180.0090.00625.92
8.2.170.0000.01422.96
8.2.160.0000.01420.35
8.2.150.0070.00724.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0070.00020.79
8.2.110.0100.00020.91
8.2.100.0090.00317.84
8.2.90.0030.00618.25
8.2.80.0080.00017.97
8.2.70.0000.00818.05
8.2.60.0030.00718.16
8.2.50.0040.00618.79
8.2.40.0040.00520.28
8.2.30.0020.00818.81
8.2.20.0050.00518.75
8.2.10.0070.00119.50
8.2.00.0050.00418.84
8.1.280.0160.00325.92
8.1.270.0040.00420.32
8.1.260.0130.00626.35
8.1.250.0020.00528.09
8.1.240.0000.01019.04
8.1.230.0110.00322.66
8.1.220.0080.00017.77
8.1.210.0080.00018.77
8.1.200.0040.00417.48
8.1.190.0030.00617.23
8.1.180.0060.00318.79
8.1.170.0050.00419.07
8.1.160.0050.00320.79
8.1.150.0080.00319.19
8.1.140.0020.00619.92
8.1.130.0010.00718.50
8.1.120.0030.00718.53
8.1.110.0060.00318.44
8.1.100.0060.00518.12
8.1.90.0070.00417.96
8.1.80.0060.00717.93
8.1.70.0070.00517.91
8.1.60.0080.00518.04
8.1.50.0090.00417.99
8.1.40.0090.00518.03
8.1.30.0090.00418.04
8.1.20.0070.00618.05
8.1.10.0100.00418.04
8.1.00.0080.00517.98
8.0.300.0000.00719.63
8.0.290.0070.00416.63
8.0.280.0030.00518.99
8.0.270.0050.00519.04
8.0.260.0050.00318.10
8.0.250.0050.00418.21
8.0.240.0030.00518.18
8.0.230.0030.00517.79
8.0.220.0070.00417.53
8.0.210.0110.00317.50
8.0.200.0070.00717.52
8.0.190.0090.00517.52
8.0.180.0080.00517.55
8.0.170.0090.00417.46
8.0.160.0050.00817.56
8.0.150.0060.00817.46
8.0.140.0060.00717.48
8.0.130.0100.00216.65
8.0.120.0090.00417.43
8.0.110.0080.00417.35
8.0.100.0050.00617.35
8.0.90.0050.00617.26
8.0.80.0060.00717.29
8.0.70.0080.00317.29
8.0.60.0060.00517.25
8.0.50.0070.00417.23
8.0.30.0060.00617.21
8.0.20.0100.00517.21
8.0.10.0080.00717.34
8.0.00.0070.00717.16
7.4.330.0030.00517.52
7.4.320.0110.00018.05
7.4.300.0070.00517.26
7.4.290.0050.00617.26
7.4.280.0080.00517.28
7.4.270.0080.00517.26
7.4.260.0090.00417.27
7.4.250.0120.00117.29
7.4.240.0060.00416.89
7.4.230.0060.00516.99
7.4.220.0070.00417.07
7.4.210.0090.00416.93
7.4.200.0030.00716.98
7.4.190.0060.00517.16
7.4.180.0100.00117.17
7.4.160.0060.00816.78
7.4.150.0070.00616.89
7.4.140.0100.00617.04
7.4.130.0060.00916.77
7.4.120.0080.00816.72
7.4.110.0080.00616.78
7.4.100.0080.00616.78
7.4.90.0100.00516.72
7.4.80.0090.00616.99
7.4.70.0080.00716.74
7.4.60.0070.00816.74
7.4.50.0070.00716.67
7.4.40.0090.00716.64
7.4.30.0070.00816.66
7.4.20.0080.00816.72
7.4.10.0080.00716.53
7.4.00.0060.00916.34
7.3.330.0080.00316.23
7.3.320.0080.00516.27
7.3.310.0080.00316.88
7.3.300.0060.00616.89
7.3.290.0070.00416.79
7.3.280.0090.00416.59
7.3.270.0070.00616.65
7.3.260.0090.00516.56
7.3.250.0080.00716.64
7.3.240.0080.00716.54
7.3.230.0080.00716.59
7.3.220.0080.00716.59
7.3.210.0080.00716.61
7.3.200.0090.00516.59
7.3.190.0080.00616.60
7.3.180.0080.00716.58
7.3.170.0070.00816.62
7.3.160.0100.00516.54
7.3.150.0100.00616.58
7.3.140.0100.00616.59
7.3.130.0090.00716.37
7.3.120.0090.00616.33
7.3.110.0090.00716.23
7.3.100.0090.00616.28
7.3.90.0080.00816.38
7.3.80.0080.00616.28
7.3.70.0090.00716.32
7.3.60.0080.00716.32
7.3.50.0070.00916.23
7.3.40.0090.00616.23
7.3.30.0070.00816.06
7.3.20.0120.00616.87
7.3.10.0150.00516.81
7.3.00.0110.00916.77
7.2.340.0120.00616.72
7.2.330.0100.00816.69
7.2.320.0110.00916.67
7.2.310.0120.00616.68
7.2.300.0130.00616.73
7.2.290.0120.00716.71
7.2.280.0120.00616.75
7.2.270.0140.00516.68
7.2.260.0120.00816.47
7.2.250.0120.00816.42
7.2.240.0110.00816.38
7.2.230.0110.00816.41
7.2.220.0110.00716.40
7.2.210.0110.00716.44
7.2.200.0110.00816.44
7.2.190.0130.00716.47
7.2.180.0090.00916.34
7.2.170.0100.00816.38
7.2.160.0090.00816.35
7.2.150.0150.00717.05
7.2.140.0130.00817.01
7.2.130.0140.00817.09
7.2.120.0210.00717.11
7.2.110.0160.00617.05
7.2.100.0180.00817.03
7.2.90.0160.00717.04
7.2.80.0160.00717.02
7.2.70.0190.00817.19
7.2.60.0140.00717.15
7.2.50.0160.00717.12
7.2.40.0170.00717.19
7.2.30.0180.00717.21
7.2.20.0150.00717.16
7.2.10.0150.00917.04
7.2.00.0180.00617.15
7.1.330.0130.00716.45
7.1.320.0140.00716.46
7.1.310.0150.00816.51
7.1.300.0170.00716.44
7.1.290.0150.00716.46
7.1.280.0140.00616.26
7.1.270.0170.00616.10
7.1.260.0160.00716.09
7.1.250.0170.00616.02
7.1.240.0140.00816.27
7.1.230.0150.00716.29
7.1.220.0200.00616.25
7.1.210.0160.00616.22
7.1.200.0220.00916.29
7.1.190.0190.00516.40
7.1.180.0140.00616.36
7.1.170.0140.00716.39
7.1.160.0150.00616.35
7.1.150.0130.00616.52
7.1.140.0130.00816.39
7.1.130.0160.00616.37
7.1.120.0170.00516.22
7.1.110.0140.00616.39
7.1.100.0170.00716.41
7.1.90.0120.00816.53
7.1.80.0150.00616.50
7.1.70.0130.00816.49
7.1.60.0130.00816.56
7.1.50.0130.00916.56
7.1.40.0140.00716.62
7.1.30.0120.00916.39
7.1.20.0160.00516.36
7.1.10.0120.00716.37
7.1.00.0130.00616.35

preferences:
39.77 ms | 401 KiB | 5 Q