3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data[] = array('volume' => 67, 'edition' => 6); $data[] = array('volume' => 86, 'edition' => 5); $data[] = array('volume' => 85, 'edition' => 4); $data[] = array('volume' => 98, 'edition' => 3); $data[] = array('volume' => 86, 'edition' => 2); $data[] = array('volume' => 67, 'edition' => 1); // Obtain a list of columns foreach ($data as $key => $row) { $volume[$key] = $row['volume']; $edition[$key] = $row['edition']; } // Sort the data with volume descending, edition ascending // Add $data as the last parameter, to sort by the common key array_multisort($edition, SORT_ASC, $volume, SORT_DESC, $data); echo '<pre>'; print_r($volume); ?>

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.0060.00916.38
8.3.60.0000.01418.37
8.3.50.0090.00916.55
8.3.40.0110.00418.89
8.3.30.0110.01118.73
8.3.20.0000.00818.91
8.3.10.0120.00320.65
8.3.00.0030.00517.50
8.2.180.0120.00616.50
8.2.170.0090.00622.96
8.2.160.0070.00722.05
8.2.150.0110.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0030.00519.89
8.2.110.0070.00321.11
8.2.100.0000.01117.91
8.2.90.0040.00419.10
8.2.80.0040.00417.97
8.2.70.0050.00517.75
8.2.60.0030.00618.04
8.2.50.0060.00318.07
8.2.40.0070.00018.34
8.2.30.0000.00718.14
8.2.20.0000.00717.75
8.2.10.0080.00017.67
8.2.00.0040.00417.66
8.1.280.0100.00725.92
8.1.270.0080.00023.99
8.1.260.0110.00726.35
8.1.250.0060.00628.09
8.1.240.0060.00322.54
8.1.230.0060.00620.97
8.1.220.0000.00818.77
8.1.210.0000.00818.92
8.1.200.0060.00317.35
8.1.190.0000.00817.63
8.1.180.0030.00618.10
8.1.170.0050.00318.91
8.1.160.0000.00818.86
8.1.150.0040.00418.70
8.1.140.0030.00517.41
8.1.130.0030.00317.84
8.1.120.0040.00417.46
8.1.110.0040.00417.47
8.1.100.0040.00417.45
8.1.90.0000.00717.49
8.1.80.0040.00317.48
8.1.70.0000.00817.45
8.1.60.0030.00517.55
8.1.50.0080.00017.45
8.1.40.0000.00817.57
8.1.30.0030.00517.59
8.1.20.0090.00017.67
8.1.10.0070.00017.60
8.1.00.0000.00717.54
8.0.300.0040.00419.92
8.0.290.0040.00416.63
8.0.280.0050.00318.46
8.0.270.0020.00517.14
8.0.260.0030.00318.48
8.0.250.0080.00016.86
8.0.240.0030.00716.87
8.0.230.0000.00716.92
8.0.220.0070.00016.80
8.0.210.0030.00316.94
8.0.200.0000.00716.89
8.0.190.0000.00716.88
8.0.180.0080.00016.98
8.0.170.0050.00316.96
8.0.160.0030.00316.84
8.0.150.0000.00716.83
8.0.140.0060.00316.87
8.0.130.0030.00313.34
8.0.120.0030.00516.82
8.0.110.0050.00316.93
8.0.100.0050.00217.02
8.0.90.0040.00416.77
8.0.80.0090.00616.93
8.0.70.0000.00816.82
8.0.60.0000.00716.97
8.0.50.0030.00516.87
8.0.30.0090.01017.10
8.0.20.0110.00717.10
8.0.10.0000.00817.14
8.0.00.0110.00916.84
7.4.330.0020.00314.78
7.4.320.0060.00016.63
7.4.300.0060.00016.57
7.4.290.0020.00516.56
7.4.280.0030.00616.62
7.4.270.0030.00316.61
7.4.260.0000.00613.22
7.4.250.0000.00916.65
7.4.240.0040.00416.49
7.4.230.0000.00716.35
7.4.220.0090.00916.57
7.4.210.0100.00716.52
7.4.200.0030.00316.61
7.4.190.0070.00016.76
7.4.160.0130.00616.60
7.4.150.0140.00317.07
7.4.140.0140.00917.15
7.4.130.0070.01216.51
7.4.120.0080.00816.41
7.4.110.0140.00316.54
7.4.100.0070.01016.38
7.4.90.0060.01216.68
7.4.80.0030.01318.80
7.4.70.0100.01116.72
7.4.60.0130.01016.35
7.4.50.0060.00316.54
7.4.40.0080.00822.27
7.4.30.0050.01116.49
7.4.10.0070.01016.63
7.4.00.0040.01315.59
7.3.330.0060.00013.09
7.3.320.0050.00213.29
7.3.310.0030.00316.39
7.3.300.0050.00316.24
7.3.290.0090.00916.34
7.3.280.0100.00516.32
7.3.270.0140.00317.07
7.3.260.0080.01018.24
7.3.250.0090.00816.38
7.3.240.0040.01216.56
7.3.230.0130.00316.39
7.3.210.0120.00916.30
7.3.200.0130.00619.39
7.3.190.0160.00516.55
7.3.180.0060.00916.27
7.3.170.0050.01116.37
7.3.160.0150.00316.45
7.3.130.0040.01516.33
7.3.120.0070.00715.39
7.3.110.0050.01215.54
7.3.100.0020.01415.55
7.3.90.0050.00915.65
7.3.80.0070.00715.55
7.3.70.0030.00815.60
7.3.60.0050.00815.58
7.3.50.0050.00515.72
7.3.40.0000.01115.63
7.3.30.0080.00315.68
7.3.20.0090.00517.27
7.3.10.0080.00717.22
7.3.00.0060.00717.04
7.2.330.0140.00316.60
7.2.320.0130.00316.73
7.2.310.0160.00616.59
7.2.300.0080.00816.70
7.2.290.0070.00716.70
7.2.260.0110.00816.73
7.2.250.0030.01516.04
7.2.240.0060.01015.94
7.2.230.0100.00715.68
7.2.220.0070.00615.78
7.2.210.0070.00615.73
7.2.200.0080.00715.72
7.2.190.0060.00515.67
7.2.180.0020.01115.70
7.2.170.0070.01215.81
7.2.160.0060.00316.70
7.2.150.0060.00918.31
7.2.140.0100.00718.39
7.2.130.0100.00917.58
7.2.120.0050.00817.75
7.2.110.0030.01017.50
7.2.100.0090.00617.60
7.2.90.0090.00417.60
7.2.80.0050.01017.63
7.2.70.0050.00817.65
7.2.60.0080.00717.79
7.2.50.0050.01017.61
7.2.40.0070.00517.71
7.2.30.0060.00617.60
7.2.20.0020.00917.67
7.2.10.0090.00317.73
7.2.00.0020.01418.29
7.1.330.0090.00616.76
7.1.320.0070.00716.38
7.1.310.0070.00716.56
7.1.300.0050.00716.62
7.1.290.0030.01116.42
7.1.280.0110.00616.55
7.1.270.0090.00416.58
7.1.260.0090.00616.57
7.1.250.0030.01316.43
7.1.240.0080.00417.29
7.1.230.0030.01317.30
7.1.220.0030.01317.30
7.1.210.0050.00517.27
7.1.200.0030.01117.14
7.1.190.0070.00717.16
7.1.180.0130.00317.40
7.1.170.0060.00317.26
7.1.160.0030.00917.41
7.1.150.0040.01117.30
7.1.140.0030.00617.20
7.1.130.0030.00617.39
7.1.120.0060.00317.17
7.1.110.0080.00417.21
7.1.100.0370.00716.76
7.1.90.0130.00317.29
7.1.80.0000.01217.31
7.1.70.0040.00717.26
7.1.60.0110.01018.42
7.1.50.0020.01217.07
7.1.40.0060.00317.29
7.1.30.0060.00317.18
7.1.20.0060.00817.40
7.1.10.0100.00017.46
7.1.00.0030.02119.91
7.0.330.0040.00516.95
7.0.320.0070.00417.24
7.0.310.0060.00617.13
7.0.300.0000.01117.02
7.0.290.0030.00717.12
7.0.280.0000.01117.02
7.0.270.0070.00717.00
7.0.260.0060.00916.86
7.0.250.0060.00917.20
7.0.240.0100.00717.11
7.0.230.0030.01017.12
7.0.220.0000.01117.05
7.0.210.0080.00316.99
7.0.200.0020.01216.97
7.0.190.0060.00317.11
7.0.180.0000.01317.09
7.0.170.0070.00717.17
7.0.160.0100.00316.96
7.0.150.0000.01517.04
7.0.140.0040.03719.52
7.0.130.0070.00717.12
7.0.120.0040.01117.04
7.0.110.0030.01017.18
7.0.100.0090.00616.99
7.0.90.0160.00316.95
7.0.80.0090.00917.01
7.0.70.0040.01217.08
7.0.60.0040.02618.41
7.0.50.0040.04217.53
7.0.40.0020.03217.50
7.0.30.0160.04417.61
7.0.20.0130.04217.50
7.0.10.0100.02717.67
7.0.00.0130.03517.70
5.6.400.0140.00716.01
5.6.390.0030.01215.65
5.6.380.0060.01015.61
5.6.370.0060.00615.67
5.6.360.0060.00315.96
5.6.350.0000.00916.04
5.6.340.0040.01115.64
5.6.330.0030.01015.85
5.6.320.0070.01016.13
5.6.310.0060.00315.72
5.6.300.0030.00715.80
5.6.290.0080.00415.70
5.6.280.0080.03718.35
5.6.270.0070.00715.84
5.6.260.0100.00315.93
5.6.250.0080.00415.99
5.6.240.0030.01316.05
5.6.230.0040.00816.08
5.6.220.0110.00416.12
5.6.210.0070.04518.20
5.6.200.0090.04216.97
5.6.190.0070.02518.28
5.6.180.0210.03618.11
5.6.170.0150.04018.13
5.6.160.0080.03818.30
5.6.150.0070.03817.05
5.6.140.0030.04617.17
5.6.130.0110.02716.99
5.6.120.0130.03118.49
5.6.110.0030.04718.48
5.6.100.0030.02518.45
5.6.90.0030.04818.36
5.6.80.0060.02918.10
5.6.70.2240.02317.99
5.6.60.0000.01515.93
5.6.50.0090.00615.77
5.6.40.0110.00415.88
5.6.30.0100.00615.92
5.6.20.0100.00716.11
5.6.10.0060.00615.89
5.6.00.0140.00015.71
5.5.380.0110.00416.07
5.5.370.0060.00615.71
5.5.360.0040.00915.68
5.5.350.0170.04418.13
5.5.340.0040.03116.86
5.5.330.0080.03018.05
5.5.320.0230.03617.96
5.5.310.0150.04017.94
5.5.300.0080.04316.88
5.5.290.0110.03816.79
5.5.280.0080.03818.30
5.5.270.0050.04618.23
5.5.260.0130.04118.23
5.5.250.0110.04618.21
5.5.240.0040.02617.98
5.5.230.0050.00515.78
5.5.220.0080.00815.73
5.5.210.0060.01015.71
5.5.200.0180.00015.67
5.5.190.0090.00315.64
5.5.180.0030.01015.60
5.5.170.0060.00615.60
5.5.160.0000.01215.78
5.5.150.0120.00415.55
5.5.140.0000.01515.47
5.5.130.0100.00715.67
5.5.120.0030.01415.76
5.5.110.0120.00615.57
5.5.100.0040.01915.78
5.5.90.0060.00915.65
5.5.80.0030.01515.61
5.5.70.0040.01515.76
5.5.60.0000.01315.62
5.5.50.0100.00715.90
5.5.40.0060.00615.88
5.5.30.0060.00915.80
5.5.20.0030.00615.85
5.5.10.0040.00715.85
5.5.00.0030.01315.67
5.4.450.0070.03516.56
5.4.440.0110.04016.36
5.4.430.0100.02616.55
5.4.420.0020.05016.36
5.4.410.0030.02816.41
5.4.400.0010.02616.39
5.4.390.0120.02816.39
5.4.380.0050.03316.20
5.4.370.0080.02416.31
5.4.360.0020.03016.21
5.4.350.0030.03616.26
5.4.340.0110.03416.20
5.4.330.0100.00713.54
5.4.320.0080.02216.33
5.4.310.0060.03816.39
5.4.300.0100.03816.39
5.4.290.0030.04316.39
5.4.280.0070.03216.20
5.4.270.0090.03816.34
5.4.260.0020.02516.34
5.4.250.0020.03116.34
5.4.240.0090.04016.32
5.4.230.0130.02716.33
5.4.220.0060.03116.34
5.4.210.0050.03116.27
5.4.200.0050.04716.33
5.4.190.0060.02416.34
5.4.180.0070.03516.27
5.4.170.0080.02216.34
5.4.160.0030.04216.19
5.4.150.0070.04516.36
5.4.140.0050.04414.93
5.4.130.0030.02814.94
5.4.120.0050.02815.02
5.4.110.0070.02214.91
5.4.100.0030.02414.97
5.4.90.0070.02214.92
5.4.80.0060.03314.96
5.4.70.0100.03214.97
5.4.60.0060.03614.95
5.4.50.0050.04314.97
5.4.40.0030.04315.03
5.4.30.0080.03814.97
5.4.20.0020.03814.96
5.4.10.0040.03614.94
5.4.00.0070.03814.70
5.3.290.0070.04214.11
5.3.280.0080.03814.14
5.3.270.0020.02614.10
5.3.260.0030.04314.07
5.3.250.0050.04214.05
5.3.240.0070.02614.07
5.3.230.0050.03314.09
5.3.220.0040.02614.08
5.3.210.0100.03114.06
5.3.200.0060.03214.08
5.3.190.0070.04314.05
5.3.180.0080.03514.07
5.3.170.0020.02714.09
5.3.160.0080.03514.06
5.3.150.0050.03114.06
5.3.140.0070.03914.01
5.3.130.0070.04214.06
5.3.120.0100.03014.04
5.3.110.0120.03614.02
5.3.100.0070.04013.73
5.3.90.0080.04513.86
5.3.80.0130.03213.81
5.3.70.0050.04513.73
5.3.60.0100.03813.85
5.3.50.0060.03013.74
5.3.40.0070.04013.82
5.3.30.0080.02313.70
5.3.20.0050.02613.62
5.3.10.0090.02113.63
5.3.00.0070.02713.54
5.2.170.0000.04011.22
5.2.160.0000.03311.23
5.2.150.0030.04311.20
5.2.140.0070.03711.20
5.2.130.0030.04711.11
5.2.120.0000.04311.14
5.2.110.0100.03311.06
5.2.100.0100.06011.16
5.2.90.0100.02311.25
5.2.80.0070.02711.10
5.2.70.0100.03311.17
5.2.60.0070.02711.21
5.2.50.0100.04311.09
5.2.40.0130.05011.04
5.2.30.0000.07010.97
5.2.20.0070.04710.98
5.2.10.0030.05710.91
5.2.00.0070.06010.71
5.1.60.0200.0379.97
5.1.50.0070.05310.02
5.1.40.0030.0579.95
5.1.30.0070.05710.34
5.1.20.0000.05710.40
5.1.10.0030.05310.21
5.1.00.0000.05010.04
5.0.50.0030.0408.52
5.0.40.0070.0438.40
5.0.30.0000.0508.27
5.0.20.0000.0338.27
5.0.10.0070.0378.32
5.0.00.0000.0678.30
4.4.90.0000.0177.85
4.4.80.0000.0277.85
4.4.70.0000.0407.85
4.4.60.0000.0337.85
4.4.50.0070.0277.85
4.4.40.0030.0377.85
4.4.30.0000.0307.85
4.4.20.0070.0377.85
4.4.10.0000.0277.85
4.4.00.0030.0537.85
4.3.110.0000.0207.85
4.3.100.0070.0237.85
4.3.90.0030.0207.85
4.3.80.0100.0507.85
4.3.70.0030.0337.85
4.3.60.0030.0377.85
4.3.50.0100.0237.85
4.3.40.0030.0407.85
4.3.30.0000.0407.85
4.3.20.0000.0307.85
4.3.10.0030.0337.85
4.3.00.0030.0207.85

preferences:
61.74 ms | 401 KiB | 5 Q