3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = ["def", "yz", "abc", "jkl", "123", "789", "stu"]; array_multisort($test, SORT_NUMERIC, $test); var_export($test);

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.130.0150.00617.92
8.4.120.0050.00924.08
8.4.110.0070.00418.86
8.4.100.0140.00717.55
8.4.90.0040.00417.72
8.4.80.0050.00417.73
8.4.70.0160.00517.59
8.4.60.0080.01217.48
8.4.50.0080.00318.36
8.4.40.0090.01019.57
8.4.30.0120.00618.79
8.4.20.0100.01017.57
8.4.10.0040.00421.93
8.3.260.0110.00816.68
8.3.250.0110.00818.70
8.3.240.0080.00816.40
8.3.230.0080.00416.73
8.3.220.0100.00817.29
8.3.210.0050.01016.55
8.3.200.0100.00616.38
8.3.190.0120.00716.29
8.3.180.0080.01016.61
8.3.170.0120.00816.98
8.3.160.0140.00318.40
8.3.150.0120.00616.39
8.3.140.0040.01217.20
8.3.130.0030.00618.23
8.3.120.0040.00420.57
8.3.110.0070.01120.94
8.3.100.0120.00924.06
8.3.90.0030.00526.77
8.3.80.0030.00616.75
8.3.70.0070.01416.58
8.3.60.0080.00818.56
8.3.50.0070.01120.06
8.3.40.0100.00320.19
8.3.30.0030.01018.54
8.3.20.0090.00624.18
8.3.10.0030.00624.66
8.3.00.0050.00226.16
8.2.290.0140.00622.11
8.2.280.0120.00618.36
8.2.270.0110.00716.96
8.2.260.0120.00616.46
8.2.250.0060.00316.57
8.2.240.0000.01117.24
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0060.00316.63
8.2.190.0070.00716.58
8.2.180.0100.00625.92
8.2.170.0140.00722.96
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0090.00018.65
8.2.110.0030.00720.26
8.2.100.0090.00319.34
8.2.90.0030.00519.05
8.2.80.0040.00719.39
8.2.70.0060.00317.50
8.2.60.0050.00317.80
8.2.50.0040.00418.07
8.2.40.0000.00718.09
8.2.30.0000.00717.86
8.2.20.0000.00719.15
8.2.10.0000.00817.86
8.2.00.0040.00719.15
8.1.330.0120.00716.76
8.1.320.0100.00917.96
8.1.310.0100.00916.80
8.1.300.0040.00420.29
8.1.290.0050.00530.84
8.1.280.0070.00725.92
8.1.270.0110.00424.66
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0080.00023.91
8.1.230.0090.00319.10
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0070.00317.36
8.1.190.0000.00717.18
8.1.180.0060.00320.19
8.1.170.0040.00418.32
8.1.160.0040.00422.09
8.1.150.0040.00418.55
8.1.140.0090.00019.23
8.1.130.0000.00718.98
8.1.120.0070.00017.46
8.1.110.0040.00417.36
8.1.100.0130.00517.32
8.1.90.0080.00417.39
8.1.80.0140.00317.41
8.1.70.0120.00717.33
8.1.60.0080.00417.42
8.1.50.0120.00617.36
8.1.40.0130.00317.42
8.1.30.0130.00417.50
8.1.20.0130.00417.44
8.1.10.0110.00517.36
8.1.00.0100.00417.43
8.0.300.0000.00718.77
8.0.290.0000.00717.04
8.0.280.0030.00318.45
8.0.270.0070.00017.93
8.0.260.0060.00018.37
8.0.250.0040.00416.84
8.0.240.0040.00416.81
8.0.230.0050.00516.72
8.0.220.0060.00616.76
8.0.210.0060.00616.68
8.0.200.0000.00916.78
8.0.190.0040.00816.79
8.0.180.0080.00416.70
8.0.170.0040.01116.71
8.0.160.0080.00516.75
8.0.150.0090.00516.71
8.0.140.0120.00016.75
8.0.130.0050.00816.67
8.0.120.0110.00216.77
8.0.110.0110.00316.77
8.0.100.0080.00616.78
8.0.90.0000.01416.70
8.0.80.0130.00316.80
8.0.70.0130.00316.63
8.0.60.0080.00816.56
8.0.50.0130.00316.63
8.0.30.0150.00016.71
8.0.20.0050.01116.76
8.0.10.0120.00416.93
7.4.330.0030.00315.55
7.4.320.0000.00616.41
7.4.300.0050.00516.53
7.4.290.0110.00516.49
7.4.280.0140.00316.28
7.4.270.0080.00816.45
7.4.260.0160.00016.48
7.4.250.0100.00716.31
7.4.240.0150.00416.47
7.4.230.0050.01116.49
7.4.220.0040.01116.52
7.4.210.0100.00516.55
7.4.200.0120.00316.37
7.4.190.0090.00616.63
7.4.180.0110.00316.51
7.4.160.0110.00416.50
7.4.150.0110.00316.53
7.4.140.0150.00016.43
7.4.130.0120.00216.43
7.4.120.0000.00816.18
7.4.110.0040.00416.22
7.4.100.0000.00716.44
7.4.90.0000.00716.43
7.4.80.0000.00816.20
7.4.70.0000.00816.34
7.4.60.0040.00716.35
7.4.50.0000.01216.13
7.4.40.0120.00016.09
7.4.30.0070.00516.29
7.4.20.0030.00916.23
7.4.10.0040.01116.30
7.4.00.0070.00716.38

preferences:
27.6 ms | 403 KiB | 5 Q