3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 98602142989816971, 98602142989816970, ]; sort($array, SORT_NUMERIC); 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.00718.52
8.3.120.0000.00820.85
8.3.110.0060.00320.94
8.3.100.0080.00016.55
8.3.90.0080.00026.77
8.3.80.0090.00016.50
8.3.70.0110.00416.63
8.3.60.0110.01118.43
8.3.50.0100.00723.52
8.3.40.0060.00918.57
8.3.30.0110.00318.49
8.3.20.0040.00420.68
8.3.10.0080.00020.23
8.3.00.0030.00519.20
8.2.250.0030.00618.50
8.2.240.0110.00718.80
8.2.230.0050.00322.58
8.2.220.0030.00624.06
8.2.210.0090.00626.77
8.2.200.0060.00316.38
8.2.190.0180.00416.63
8.2.180.0090.00918.16
8.2.170.0060.01222.96
8.2.160.0070.00720.35
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0030.00526.16
8.2.120.0040.00420.95
8.2.110.0090.00022.20
8.2.100.0050.00517.72
8.2.90.0040.00417.63
8.2.80.0030.00518.64
8.2.70.0000.00817.80
8.2.60.0040.00418.09
8.2.50.0000.00719.21
8.2.40.0040.00420.81
8.2.30.0060.00319.12
8.2.20.0000.00717.97
8.2.10.0070.00019.06
8.2.00.0000.00719.11
8.1.300.0040.00820.03
8.1.290.0080.00030.84
8.1.280.0100.00325.92
8.1.270.0060.01222.06
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00318.64
8.1.230.0070.00421.03
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.22
8.1.190.0060.00317.10
8.1.180.0000.00818.90
8.1.170.0060.00318.53
8.1.160.0000.00719.05
8.1.150.0050.00218.82
8.1.140.0030.00318.70
8.1.130.0000.00717.26
8.1.120.0000.00717.28
8.1.110.0000.00717.28
8.1.100.0000.00817.28
8.1.90.0030.00317.43
8.1.80.0070.00017.24
8.1.70.0000.00717.26
8.1.60.0070.00417.51
8.1.50.0050.00317.47
8.1.40.0000.00817.28
8.1.30.0040.00417.59
8.1.20.0000.00817.63
8.1.10.0000.00717.57
8.1.00.0000.00817.49
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00318.25
8.0.270.0050.00216.74
8.0.260.0030.00316.82
8.0.250.0000.00716.85
8.0.240.0030.00316.95
8.0.230.0030.00316.85
8.0.220.0050.00216.88
8.0.210.0030.00316.93
8.0.200.0000.00616.91
8.0.190.0030.00316.85
8.0.180.0040.00416.73
8.0.170.0000.00816.84
8.0.160.0050.00316.88
8.0.150.0040.00416.75
8.0.140.0000.00716.77
8.0.130.0000.00913.23
8.0.120.0040.00416.84
8.0.110.0050.00316.68
8.0.100.0080.00016.77
8.0.90.0000.00916.71
8.0.80.0160.00316.73
8.0.70.0040.00416.69
8.0.60.0050.00216.87
8.0.50.0040.00416.87
8.0.30.0070.01017.09
8.0.20.0120.00617.20
8.0.10.0000.00716.85
8.0.00.0060.01216.67
7.4.330.0050.00015.55
7.4.320.0000.00716.56
7.4.300.0030.00316.42
7.4.290.0110.00016.41
7.4.280.0080.00016.54
7.4.270.0030.00316.46
7.4.260.0000.01116.52
7.4.250.0030.00516.41
7.4.240.0070.00016.51
7.4.230.0030.00316.55
7.4.220.0020.00516.59
7.4.210.0070.00816.44
7.4.200.0000.00716.34
7.4.130.0140.00516.45
7.4.120.0120.00516.41
7.4.110.0040.01416.57
7.4.100.0070.01116.31
7.4.90.0130.00316.44
7.4.80.0100.01319.39
7.4.70.0100.00716.55
7.4.60.0070.00716.48
7.4.50.0110.00716.09
7.4.40.0030.01316.21
7.4.20.0130.01016.32
7.4.10.0160.00816.49
7.4.00.0060.01716.60
7.3.330.0040.00416.12
7.3.320.0020.00213.07
7.3.310.0030.00315.99
7.3.300.0040.00415.98
7.3.290.0100.00716.10
7.3.280.0130.00616.18
7.3.260.0100.00716.17
7.3.240.0080.01116.40
7.3.230.0100.00716.24
7.3.210.0000.01716.37
7.3.200.0060.01016.19
7.3.190.0110.00516.18
7.3.180.0070.00716.25
7.3.170.0030.01316.37
7.3.160.0120.00416.13
7.3.140.0090.01516.10
7.3.130.0060.01916.45
7.3.120.0060.01716.19
7.3.110.0130.01316.16
7.3.100.0190.00316.29
7.3.90.0160.00816.33
7.3.80.0060.01416.14
7.3.70.0080.01216.06
7.3.60.0040.01916.30
7.3.50.0070.01416.29
7.3.40.0120.00616.11
7.3.30.0100.01316.09
7.3.20.0130.00716.18
7.3.10.0120.01216.04
7.3.00.0180.00615.98
7.2.330.0040.01916.16
7.2.320.0070.01016.43
7.2.310.0090.00616.49
7.2.300.0080.01216.31
7.2.290.0050.01416.43
7.2.270.0070.01816.49
7.2.260.0080.01316.28
7.2.250.0110.01516.25
7.2.240.0080.01516.49
7.2.230.0160.00916.25
7.2.220.0160.00616.26
7.2.210.0170.00416.23
7.2.200.0150.00816.32
7.2.190.0140.01016.35
7.2.180.0060.01316.21
7.2.170.0150.00616.32
7.2.160.0110.01116.28
7.2.150.0090.01216.47
7.2.140.0110.00916.44
7.2.130.0120.00916.28
7.2.120.0160.00916.24
7.2.110.0230.01016.24
7.2.100.0060.01216.18
7.2.90.0110.00816.32
7.2.80.0180.00916.48
7.2.70.0150.00616.28
7.2.60.0100.01016.16
7.2.50.0170.00916.08
7.2.40.0210.00016.44
7.2.30.0120.01216.13
7.2.20.0040.01316.40
7.2.10.0150.00616.45
7.2.00.0060.01216.40

preferences:
74.98 ms | 403 KiB | 5 Q