3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ 'id' => 2, 'type' => 'comment', 'text' => 'hey', 'datetime' => '2010-05-15 11:29:45' ], [ 'id' => 3, 'type' => 'status', 'text' => 'oi', 'datetime' => '2010-05-26 15:59:53' ], [ 'id' => 4, 'type' => 'status', 'text' => 'yeww', 'datetime' => '2010-05-26 16:04:24' ] ]; // array_multisort() by date column ASC: array_multisort(array_column($array, 'datetime'), $array); echo var_export($array, true) . "\n***\n";

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.5.10.0080.00816.53
8.5.00.0130.00819.93
8.4.150.0030.00014.05
8.4.140.0140.00717.29
8.4.130.0100.01117.85
8.4.120.0150.00522.34
8.4.110.0130.00820.44
8.4.100.0120.00718.80
8.4.90.0040.00420.55
8.4.80.0060.00218.68
8.4.70.0110.00817.56
8.4.60.0140.00718.75
8.4.50.0070.00318.64
8.4.40.0070.01517.48
8.4.30.0040.01120.51
8.4.20.0130.00317.75
8.4.10.0080.01217.57
8.3.280.0100.00920.08
8.3.270.0090.01016.81
8.3.260.0100.00816.61
8.3.250.0140.00618.94
8.3.240.0130.00616.58
8.3.230.0140.00516.72
8.3.220.0100.00819.05
8.3.210.0060.00916.79
8.3.200.0050.00316.79
8.3.190.0030.00417.27
8.3.180.0130.00516.55
8.3.170.0120.00617.29
8.3.160.0000.01719.97
8.3.150.0090.00918.18
8.3.140.0120.00617.15
8.3.130.0040.00418.30
8.3.120.0060.01018.81
8.3.110.0130.00720.94
8.3.100.0060.01216.43
8.3.90.0080.00026.77
8.3.80.0000.00916.50
8.3.70.0100.01016.58
8.3.60.0070.01018.55
8.3.50.0040.01319.80
8.3.40.0040.01418.91
8.3.30.0130.00318.45
8.3.20.0000.00724.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.290.0100.00920.50
8.2.280.0090.00920.23
8.2.270.0130.00617.13
8.2.260.0060.00316.37
8.2.250.0140.00016.44
8.2.240.0090.00617.14
8.2.230.0050.00522.58
8.2.220.0040.00424.06
8.2.210.0000.00726.77
8.2.200.0070.00316.38
8.2.190.0040.01216.58
8.2.180.0070.00725.92
8.2.170.0100.00322.96
8.2.160.0190.00022.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0030.00619.66
8.2.110.0000.01220.94
8.2.100.0100.00317.72
8.2.90.0000.00817.75
8.2.80.0040.00418.79
8.2.70.0040.00417.25
8.2.60.0040.00417.50
8.2.50.0040.00417.50
8.2.40.0040.00417.63
8.2.30.0050.00217.62
8.2.20.0000.00719.35
8.2.10.0050.00317.75
8.2.00.0040.00419.11
8.1.330.0080.00822.03
8.1.320.0130.00615.92
8.1.310.0100.00718.09
8.1.300.0110.00317.86
8.1.290.0080.00430.84
8.1.280.0070.01425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00822.80
8.1.230.0070.00417.77
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0090.00017.35
8.1.190.0040.00417.23
8.1.180.0050.00318.89
8.1.170.0050.00219.02
8.1.160.0040.00418.79
8.1.150.0000.00718.67
8.1.140.0040.00417.39
8.1.130.0040.00420.67
8.1.120.0040.00417.47
8.1.110.0000.00717.47
8.1.100.0040.00417.46
8.1.90.0000.00717.44
8.1.80.0000.00717.34
8.1.70.0040.00417.48
8.1.60.0030.00617.49
8.1.50.0030.00617.52
8.1.40.0040.00417.54
8.1.30.0030.00517.62
8.1.20.0050.00317.54
8.1.10.0000.00717.46
8.1.00.0080.00017.30
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.08
8.0.270.0040.00416.74
8.0.260.0060.00318.39
8.0.250.0000.00716.98
8.0.240.0000.00916.94
8.0.230.0040.00416.96
8.0.220.0030.00316.80
8.0.210.0030.00316.77
8.0.200.0040.00417.01
8.0.190.0030.00316.89
8.0.180.0050.00316.86
8.0.170.0030.00616.79
8.0.160.0040.00316.83
8.0.150.0040.00416.75
8.0.140.0040.00416.88
8.0.130.0050.00013.25
8.0.120.0050.00913.29
8.0.110.0080.00313.34
8.0.100.0070.00413.28
8.0.90.0040.00813.34
8.0.80.0070.00513.29
8.0.70.0100.00213.23
8.0.60.0040.00712.95
8.0.50.0040.00813.29
8.0.30.0090.00513.33
8.0.20.0100.00313.35
8.0.10.0100.00313.42
8.0.00.0000.00813.36
7.4.330.0000.00615.55
7.4.320.0030.00316.42
7.4.300.0000.00716.41
7.4.290.0070.00016.39
7.4.280.0000.00916.53
7.4.270.0000.00716.45
7.4.260.0000.00513.32
7.4.250.0150.00013.33
7.4.240.0140.00213.23
7.4.230.0080.00813.33
7.4.220.0090.00913.10
7.4.210.0100.00413.19
7.4.200.0090.00413.27
7.4.190.0070.00713.27
7.4.180.0000.01313.23
7.4.160.0150.00013.26
7.4.150.0060.00613.18
7.4.140.0070.00613.06
7.4.130.0120.00013.16
7.4.120.0140.00013.13
7.4.110.0120.00013.13
7.4.100.0140.00013.18
7.4.90.0090.00413.15
7.4.80.0100.00413.25
7.4.70.0090.00513.15
7.4.60.0110.00313.06
7.4.50.0120.00013.15
7.4.40.0110.00313.20
7.4.30.0000.01213.26
7.4.20.0110.00213.13
7.4.10.0040.00913.16
7.4.00.0120.00013.21
7.3.330.0080.00316.03
7.3.320.0130.00213.09
7.3.310.0100.00313.03
7.3.300.0130.00012.91
7.3.290.0090.00313.06
7.3.280.0150.00013.05
7.3.270.0110.00313.13
7.3.260.0060.00813.05
7.3.250.0100.00312.96
7.3.240.0000.00913.11
7.3.230.0040.00412.89
7.3.220.0080.00412.86
7.3.210.0100.00012.97
7.3.200.0150.00013.04
7.3.190.0050.00212.93
7.3.180.0120.00212.89
7.3.170.0120.00213.05
7.3.160.0150.00013.01
7.3.150.0110.00312.94
7.3.140.0070.00713.04
7.3.130.0100.00313.04
7.3.120.0090.00412.86
7.3.110.0100.00512.89
7.3.100.0090.00312.96
7.3.90.0080.00413.27
7.3.80.0110.00313.06
7.3.70.0110.00313.18
7.3.60.0100.00313.13
7.3.50.0150.00013.22
7.3.40.0130.00013.25
7.3.30.0040.01013.25
7.3.20.0150.00314.98
7.3.10.0060.00714.95
7.3.00.0110.00314.94
7.0.300.0060.00412.28

preferences:
17.51 ms | 403 KiB | 5 Q