3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array ( 0 => Array ( 'hashtag' => 'a7e87329b5eab8578f4f1098a152d6f4', 'title' => 'Flower', 'order' => 3, ), 1 => Array ( 'hashtag' => 'b24ce0cd392a5b0b8dedc66c25213594', 'title' => 'Free', 'order' => 2, ), 2 => Array ( 'hashtag' => 'e7d31fc0602fb2ede144d18cdffd816b', 'title' => 'Ready', 'order' => 1, ) ); array_multisort(array_map(function($element) { return $element['order']; }, $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.0030.00618.44
8.3.120.0080.00019.10
8.3.110.0120.00320.94
8.3.100.0060.01224.06
8.3.90.0040.00426.77
8.3.80.0080.00317.97
8.3.70.0060.00918.30
8.3.60.0120.00618.18
8.3.50.0110.00517.48
8.3.40.0070.01118.72
8.3.30.0060.01020.83
8.3.20.0070.00622.41
8.3.10.0100.00322.28
8.3.00.0070.00723.16
8.2.250.0040.00416.78
8.2.240.0070.00317.17
8.2.230.0060.00622.58
8.2.220.0110.00037.54
8.2.210.0050.00226.77
8.2.200.0000.00918.04
8.2.190.0130.01016.58
8.2.180.0140.00718.25
8.2.170.0080.00822.96
8.2.160.0100.00521.77
8.2.150.0080.00623.57
8.2.140.0040.00823.81
8.2.130.0070.00524.56
8.2.120.0070.00521.82
8.2.110.0080.00721.83
8.2.100.0090.00720.03
8.2.90.0120.00820.00
8.2.80.0090.01119.93
8.2.70.0130.00420.42
8.2.60.0140.00619.89
8.2.50.0110.00419.64
8.2.40.0120.00720.42
8.2.30.0120.00419.79
8.2.20.0100.00719.50
8.2.10.0090.00519.78
8.2.00.0090.00519.49
8.1.300.0090.00018.31
8.1.290.0060.00630.84
8.1.280.0120.00625.92
8.1.270.0080.00423.48
8.1.260.0050.00724.66
8.1.250.0090.00325.53
8.1.240.0070.00620.22
8.1.230.0150.00619.82
8.1.220.0060.00619.73
8.1.210.0110.00420.60
8.1.200.0110.00219.63
8.1.190.0040.01019.94
8.1.180.0100.00919.74
8.1.170.0030.01020.14
8.1.160.0080.00619.55
8.1.150.0090.00419.99
8.1.140.0060.00719.50
8.1.130.0090.00319.00
8.1.120.0080.00518.67
8.1.110.0080.00618.64
8.1.100.0070.00518.54
8.1.90.0100.00418.52
8.1.80.0110.00318.28
8.1.70.0080.00618.31
8.1.60.0100.00618.33
8.1.50.0110.00518.27
8.1.40.0090.00718.16
8.1.30.0100.00518.21
8.1.20.0090.00618.14
8.1.10.0110.00418.21
8.1.00.0110.00618.11
8.0.300.0090.00420.18
8.0.290.0090.00719.16
8.0.280.0070.00819.15
8.0.270.0120.00618.75
8.0.260.0110.00618.94
8.0.250.0080.00618.02
8.0.240.0080.00518.00
8.0.230.0120.00417.86
8.0.220.0120.00317.94
8.0.210.0090.00517.81
8.0.200.0110.00417.96
8.0.190.0100.00417.96
8.0.180.0110.00417.83
8.0.170.0110.00417.70
8.0.160.0100.00517.69
8.0.150.0120.00417.57
8.0.140.0120.00517.55
8.0.130.0110.00517.30
8.0.120.0120.00417.08
8.0.110.0100.00517.04
8.0.100.0090.00617.00
8.0.90.0100.00417.00
8.0.80.0110.00517.03
8.0.70.0100.00416.99
8.0.60.0100.00417.00
8.0.50.0110.00417.01
8.0.30.0090.00716.97
8.0.20.0100.00717.09
8.0.10.0100.00717.09
8.0.00.0080.00717.23
7.4.330.0110.00316.98
7.4.320.0110.00517.51
7.4.300.0110.00617.46
7.4.290.0090.00617.32
7.4.280.0120.00517.22
7.4.270.0120.00517.08
7.4.260.0140.00517.07
7.4.250.0110.00616.69
7.4.240.0120.00416.67
7.4.230.0100.00516.63
7.4.220.0100.00416.65
7.4.210.0110.00516.63
7.4.200.0090.00516.62
7.4.190.0110.00417.21
7.4.180.0110.00516.67
7.4.160.0120.00516.68
7.4.150.0110.00516.58
7.4.140.0110.00616.59
7.4.130.0110.00516.55
7.4.120.0120.00616.54
7.4.110.0120.00516.46
7.4.100.0110.00616.56
7.4.90.0110.00616.52
7.4.80.0100.00716.46
7.4.70.0110.00716.51
7.4.60.0110.00616.52
7.4.50.0100.00716.44
7.4.40.0100.00716.43
7.4.30.0110.00616.44
7.4.20.0100.00616.45
7.4.10.0100.00616.44
7.4.00.0090.00616.44
7.3.330.0120.00516.63
7.3.320.0110.00416.31
7.3.310.0100.00516.46
7.3.300.0100.00516.40
7.3.290.0110.00416.36
7.3.280.0110.00516.40
7.3.270.0120.00516.34
7.3.260.0120.00516.36
7.3.250.0120.00516.37
7.3.240.0100.00716.33
7.3.230.0110.00616.34
7.3.220.0110.00616.35
7.3.210.0110.00616.34
7.3.200.0120.00616.34
7.3.190.0100.00716.34
7.3.180.0110.00616.35
7.3.170.0110.00616.34
7.3.160.0110.00616.35
7.3.150.0100.00716.33
7.3.140.0100.00716.35
7.3.130.0110.00616.32
7.3.120.0110.00716.28
7.3.110.0110.00616.16
7.3.100.0100.00716.10
7.3.90.0090.00716.09
7.3.80.0100.00715.92
7.3.70.0110.00715.97
7.3.60.0100.00715.89
7.3.50.0100.00715.91
7.3.40.0100.00715.88
7.3.30.0100.00716.27
7.3.20.0120.00616.44
7.3.10.0120.00716.39
7.3.00.0100.00716.48
7.2.340.0130.00616.42
7.2.330.0140.00616.42
7.2.320.0120.00716.45
7.2.310.0140.00716.43
7.2.300.0130.00616.42
7.2.290.0120.00716.45
7.2.280.0130.00616.46
7.2.270.0120.00816.42
7.2.260.0130.00716.45
7.2.250.0120.00716.39
7.2.240.0130.00616.30
7.2.230.0110.00716.24
7.2.220.0110.00716.16
7.2.210.0110.00716.05
7.2.200.0120.00716.10
7.2.190.0110.00816.06
7.2.180.0100.00816.03
7.2.170.0110.00716.06
7.2.160.0120.00716.00
7.2.150.0120.00816.59
7.2.140.0120.00716.58
7.2.130.0140.00816.66
7.2.120.0130.00716.62
7.2.110.0120.00816.61
7.2.100.0130.00816.61
7.2.90.0140.00716.59
7.2.80.0140.00716.59
7.2.70.0130.00716.63
7.2.60.0120.00816.59
7.2.50.0140.00716.60
7.2.40.0140.00716.60
7.2.30.0130.00816.63
7.2.20.0130.00816.61
7.2.10.0120.00816.62
7.2.00.0110.00816.62
7.1.330.0140.00716.04
7.1.320.0140.00615.72
7.1.310.0140.00715.63
7.1.300.0140.00615.62
7.1.290.0150.00715.62
7.1.280.0130.00715.63
7.1.270.0150.00715.61
7.1.260.0130.00715.58
7.1.250.0130.00715.60
7.1.240.0180.00616.17
7.1.230.0140.00716.02
7.1.220.0160.00716.07
7.1.210.0150.00716.04
7.1.200.0140.00716.06
7.1.190.0150.00716.06
7.1.180.0130.00716.01
7.1.170.0150.00616.05
7.1.160.0150.00616.01
7.1.150.0140.00716.00
7.1.140.0140.00616.03
7.1.130.0130.00716.05
7.1.120.0150.00716.03
7.1.110.0150.00716.04
7.1.100.0140.00716.02
7.1.90.0150.00616.03
7.1.80.0160.00716.04
7.1.70.0160.00615.98
7.1.60.0130.00716.04
7.1.50.0140.00716.06
7.1.40.0150.00716.09
7.1.30.0140.00816.06
7.1.20.0150.00616.04
7.1.10.0140.00716.05
7.1.00.0150.00616.02

preferences:
54.7 ms | 403 KiB | 5 Q