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.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.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.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:
30.53 ms | 400 KiB | 5 Q