3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = [ [25,24,23,22,21], [20,19,18,17,16], [15,14,13,12,11], [10, 9, 8, 7, 6], [ 5, 4, 3, 2, 1] ]; array_walk($input, 'sort'); echo json_encode($input);

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.0110.00418.18
8.3.50.0100.00316.37
8.3.40.0090.00618.63
8.3.30.0110.00418.46
8.3.20.0050.00221.66
8.3.10.0040.00423.78
8.3.00.0040.00419.02
8.2.180.0070.01118.31
8.2.170.0150.00022.96
8.2.160.0000.01422.13
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00719.27
8.2.120.0000.00726.35
8.2.110.0060.00319.38
8.2.100.0040.01217.78
8.2.90.0070.00018.09
8.2.80.0040.00419.02
8.2.70.0030.00517.93
8.2.60.0000.00817.48
8.2.50.0080.00318.10
8.2.40.0000.00720.63
8.2.30.0040.00419.41
8.2.20.0000.00917.92
8.2.10.0070.00017.59
8.2.00.0000.00718.04
8.1.280.0110.00425.92
8.1.270.0090.00021.90
8.1.260.0070.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00322.19
8.1.230.0040.00820.84
8.1.220.0040.00417.78
8.1.210.0040.00418.91
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.87
8.1.160.0070.00018.86
8.1.150.0070.00019.04
8.1.140.0070.00017.67
8.1.130.0020.00517.41
8.1.120.0000.00717.29
8.1.110.0040.00417.37
8.1.100.0080.00017.28
8.1.90.0030.00317.40
8.1.80.0000.01017.39
8.1.70.0000.00717.40
8.1.60.0080.00017.52
8.1.50.0060.00317.34
8.1.40.0030.00617.47
8.1.30.0000.00717.41
8.1.20.0080.00017.46
8.1.10.0000.00817.40
8.1.00.0040.00417.37
8.0.300.0040.00420.16
8.0.290.0040.00416.58
8.0.280.0000.00618.34
8.0.270.0020.00516.72
8.0.260.0030.00316.68
8.0.250.0070.00016.86
8.0.240.0000.00716.96
8.0.230.0030.00516.85
8.0.220.0030.00316.85
8.0.210.0030.00316.82
8.0.200.0040.00416.74
8.0.190.0000.00716.77
8.0.180.0000.00716.85
8.0.170.0080.00016.84
8.0.160.0040.00416.71
8.0.150.0000.00716.81
8.0.140.0030.00316.80
8.0.130.0000.00513.20
8.0.120.0070.00016.71
8.0.110.0070.00016.81
8.0.100.0000.00716.87
8.0.90.0030.00316.79
8.0.80.0070.00716.82
8.0.70.0050.00216.79
8.0.60.0060.00316.73
8.0.50.0000.00816.85
8.0.30.0070.01116.96
8.0.20.0070.01417.40
8.0.10.0000.00817.03
8.0.00.0110.00616.70
7.4.330.0020.00215.55
7.4.320.0030.00316.54
7.4.300.0050.00216.52
7.4.290.0030.00316.51
7.4.280.0040.00416.49
7.4.270.0070.00016.45
7.4.260.0000.00716.55
7.4.250.0070.00016.46
7.4.240.0000.00716.54
7.4.230.0030.00316.42
7.4.220.0030.00316.42
7.4.210.0080.00816.46
7.4.200.0070.00016.34
7.4.160.0110.00616.38
7.4.140.0150.00417.86
7.4.130.0060.01216.33
7.4.120.0110.01216.43
7.4.110.0110.00516.32
7.4.100.0070.01116.52
7.4.90.0100.00816.40
7.4.80.0000.02319.39
7.4.70.0060.01116.40
7.4.60.0090.00916.49
7.4.50.0050.00516.45
7.4.40.0030.01316.35
7.4.00.0030.01214.92
7.3.330.0000.00512.97
7.3.320.0000.00712.80
7.3.310.0030.00616.06
7.3.300.0030.00315.94
7.3.290.0030.00316.14
7.3.280.0060.01116.10
7.3.260.0100.00716.33
7.3.240.0030.01416.14
7.3.230.0090.00816.31
7.3.210.0060.01016.42
7.3.200.0140.00416.23
7.3.190.0040.01116.52
7.3.180.0130.00716.09
7.3.170.0090.00616.43
7.3.160.0130.00316.39
7.2.330.0170.00716.68
7.2.320.0140.00316.64
7.2.310.0070.01316.49
7.2.300.0100.01216.32
7.2.290.0120.00616.71
7.2.60.0030.00916.82
7.2.50.0080.00616.56
7.2.30.0120.01517.74
7.2.20.0060.01217.79
7.2.10.1000.01017.73
7.2.00.0050.01617.82
7.1.200.0080.00615.56
7.1.150.0110.01316.53
7.1.140.0080.01016.93
7.1.130.0100.01016.50
7.1.120.0100.00916.60
7.1.110.0070.01416.08
7.1.100.0070.01115.74
7.1.90.0160.01116.08
7.1.80.0140.01415.84
7.1.70.0090.00915.14
7.1.60.0240.01533.14
7.1.50.0330.01632.83
7.1.40.0280.01332.50
7.1.30.0310.01832.57
7.1.20.0280.01132.76
7.1.10.0060.01214.88
7.1.00.0070.01514.97

preferences:
33.48 ms | 400 KiB | 5 Q