3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ 0 => 1, 1 => 'https://www.facebook.com', 2 => 4 ], [ 0 => 1, 1 => 'https://www.twiiter.com', 2 => 7 ], [ 0 => 1, 1 => 'https://www.instagram.com', 2 => 9 ] ]; array_multisort(array_column($arr, 2), SORT_DESC,$arr); print_r($arr);

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.4.140.0140.00817.39
8.4.130.0110.00718.79
8.4.120.0020.00624.00
8.4.110.0130.00418.70
8.4.100.0120.00917.52
8.4.90.0120.00822.43
8.4.80.0060.00217.58
8.4.70.0100.01017.58
8.4.60.0140.00618.78
8.4.50.0090.01122.29
8.4.40.0150.00420.63
8.4.30.0150.00324.16
8.4.20.0100.01018.79
8.4.10.0070.00319.28
8.3.270.0090.01216.35
8.3.260.0130.00716.53
8.3.250.0110.00918.44
8.3.240.0110.00816.93
8.3.230.0090.01116.44
8.3.220.0100.00717.11
8.3.210.0140.00516.73
8.3.200.0030.00516.40
8.3.190.0110.00816.84
8.3.180.0030.00516.72
8.3.170.0040.01017.03
8.3.160.0070.01120.84
8.3.150.0060.01218.37
8.3.140.0000.00818.29
8.3.130.0030.00618.38
8.3.120.0130.00620.68
8.3.110.0110.00820.94
8.3.100.0110.00718.22
8.3.90.0060.00318.33
8.3.80.0040.00418.30
8.3.70.0090.00618.43
8.3.60.0100.00718.18
8.3.50.0140.00316.23
8.3.40.0110.00418.64
8.3.30.0040.01118.63
8.3.20.0040.00421.94
8.3.10.0040.00420.34
8.3.00.0040.00423.52
8.2.290.0090.00620.57
8.2.280.0120.00818.40
8.2.270.0130.00617.16
8.2.260.0080.00016.55
8.2.250.0120.00618.36
8.2.240.0110.00017.24
8.2.230.0030.01222.58
8.2.220.0060.00324.06
8.2.210.0050.00326.77
8.2.200.0060.00318.29
8.2.190.0130.00716.58
8.2.180.0090.00616.50
8.2.170.0100.00722.96
8.2.160.0110.00420.73
8.2.150.0030.00624.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0080.00320.97
8.2.100.0070.00417.66
8.2.90.0040.00417.78
8.2.80.0030.00618.09
8.2.70.0000.00817.38
8.2.60.0030.00617.91
8.2.50.0000.00817.55
8.2.40.0080.00019.25
8.2.30.0070.00019.18
8.2.20.0000.00718.00
8.2.10.0040.00419.06
8.2.00.0090.00019.09
8.1.330.0090.00921.78
8.1.320.0160.00415.91
8.1.310.0090.00918.41
8.1.300.0060.00318.47
8.1.290.0090.00018.88
8.1.280.0120.00625.92
8.1.270.0030.00621.80
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00622.05
8.1.230.0080.00422.07
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0080.00017.23
8.1.180.0000.00918.10
8.1.170.0030.00618.65
8.1.160.0000.00718.70
8.1.150.0070.00018.87
8.1.140.0000.00820.48
8.1.130.0000.00717.42
8.1.120.0040.00417.34
8.1.110.0050.00517.34
8.1.100.0110.00017.45
8.1.90.0070.00017.37
8.1.80.0030.00517.45
8.1.70.0070.00017.36
8.1.60.0000.00817.52
8.1.50.0080.00017.42
8.1.40.0040.00417.28
8.1.30.0000.00917.58
8.1.20.0000.01117.43
8.1.10.0000.00917.55
8.1.00.0000.00717.32
8.0.300.0000.00719.91
8.0.290.0000.00816.75
8.0.280.0030.00318.38
8.0.270.0050.00216.70
8.0.260.0000.00716.66
8.0.250.0000.00716.77
8.0.240.0030.00316.87
8.0.230.0000.00816.82
8.0.220.0080.00016.72
8.0.210.0000.00716.79
8.0.200.0030.00316.84
8.0.190.0040.00416.91
8.0.180.0050.00316.89
8.0.170.0060.00316.74
8.0.160.0030.00516.76
8.0.150.0000.00716.65
8.0.140.0070.00016.70
8.0.130.0050.00013.14
8.0.120.0040.00416.68
8.0.110.0040.00416.76
8.0.100.0030.00516.88
8.0.90.0040.00416.68
8.0.80.0070.00716.76
8.0.70.0070.00016.77
8.0.60.0060.00316.89
8.0.50.0040.00416.70
8.0.30.0100.00717.05
8.0.20.0100.00816.83
8.0.10.0040.00416.85
8.0.00.0080.00916.67
7.4.330.0000.00615.55
7.4.320.0030.00316.35
7.4.300.0000.00616.52
7.4.290.0030.00316.49
7.4.280.0070.00016.43
7.4.270.0000.00816.39
7.4.260.0040.00416.56
7.4.250.0000.00716.40
7.4.240.0030.00316.46
7.4.230.0000.00716.64
7.4.220.0000.00716.59
7.4.210.0060.00816.45
7.4.200.0030.00316.43
7.4.140.0200.00017.86
7.4.130.0070.01116.43
7.4.120.0060.01216.29
7.4.110.0130.00316.39
7.4.100.0100.01016.32
7.4.90.0100.01316.34
7.4.80.0110.00519.39
7.4.70.0120.00416.59
7.4.60.0120.00316.43
7.4.50.0030.01116.44
7.4.40.0110.00716.32
7.4.00.0090.00314.69
7.3.330.0060.00012.96
7.3.320.0030.00313.06
7.3.310.0030.00315.96
7.3.300.0000.00716.12
7.3.290.0030.00316.12
7.3.280.0110.00616.13
7.3.260.0100.00916.31
7.3.240.0110.00816.30
7.3.230.0110.00716.19
7.3.210.0090.00916.12
7.3.200.0030.01316.10
7.3.190.0060.00916.39
7.3.180.0100.00916.08
7.3.170.0110.00516.16
7.3.160.0150.00016.20
7.3.70.0060.00714.68
7.3.60.0000.01014.41
7.3.50.0120.00814.79
7.3.40.0070.01314.63
7.3.30.0050.01914.69
7.3.20.0070.00716.45
7.3.10.0040.00716.18
7.3.00.0100.01016.39
7.2.330.0090.01516.23
7.2.320.0070.01316.50
7.2.310.0000.01616.51
7.2.300.0090.00916.30
7.2.290.0100.00616.34
7.2.200.0140.00614.50
7.2.190.0140.00414.82
7.2.180.0170.00014.79
7.2.170.0090.00314.82
7.2.160.0130.00314.93
7.2.150.0060.00616.36
7.2.140.0110.00016.64
7.2.130.0070.01416.71
7.2.120.0040.00716.70
7.2.110.0100.00016.39
7.2.100.0040.00816.81
7.2.90.0080.00416.69
7.2.80.0060.00916.89
7.2.70.0160.00616.70
7.2.60.0140.00716.54
7.2.50.0100.01316.83
7.2.40.0070.01516.89
7.2.30.0140.00916.83
7.2.20.0140.00716.74
7.2.10.0140.00016.57
7.2.00.0130.01016.54
7.1.300.0090.00915.58
7.1.290.0000.01615.71
7.1.280.0030.00615.83
7.1.270.0100.01015.72
7.1.260.0030.00915.84
7.1.250.0090.00315.77

preferences:
30.83 ms | 403 KiB | 5 Q