3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['test', 'jura', 'õied', 'Auto']; var_dump($a); natcasesort($a); var_dump($a); var_dump(array_values($a));

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.01118.31
8.3.50.0170.00018.14
8.3.40.0120.00621.78
8.3.30.0000.01518.45
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0000.00826.16
8.2.180.0030.01425.92
8.2.170.0090.00618.88
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0060.00326.16
8.2.110.0030.00620.53
8.2.100.0060.00617.91
8.2.90.0050.00317.50
8.2.80.0000.00818.79
8.2.70.0080.00017.63
8.2.60.0040.00417.63
8.2.50.0040.00417.55
8.2.40.0000.00817.62
8.2.30.0080.00017.61
8.2.20.0070.00017.87
8.2.10.0000.00719.22
8.2.00.0000.00719.08
8.1.280.0090.00625.92
8.1.270.0000.00824.02
8.1.260.0040.00426.35
8.1.250.0070.00728.09
8.1.240.0030.00619.04
8.1.230.0110.00017.70
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00317.22
8.1.190.0050.00317.21
8.1.180.0040.00418.10
8.1.170.0050.00219.09
8.1.160.0000.00718.70
8.1.150.0040.00418.58
8.1.140.0020.00517.34
8.1.130.0030.00318.81
8.1.120.0070.00017.44
8.1.110.0040.00417.32
8.1.100.0000.00717.42
8.1.90.0030.00517.35
8.1.80.0050.00517.33
8.1.70.0000.00717.45
8.1.60.0000.00817.49
8.1.50.0040.00417.43
8.1.40.0040.00417.46
8.1.30.0040.00417.57
8.1.20.0070.00317.46
8.1.10.0040.00417.41
8.1.00.0020.00517.45
8.0.300.0050.00518.77
8.0.290.0000.00716.75
8.0.280.0030.00317.99
8.0.270.0000.00816.66
8.0.260.0000.00818.48
8.0.250.0000.00716.88
8.0.240.0030.00316.85
8.0.230.0000.00716.88
8.0.220.0000.00716.76
8.0.210.0040.00416.84
8.0.200.0000.00716.95
8.0.190.0050.00316.78
8.0.180.0050.00216.83
8.0.170.0030.00516.88
8.0.160.0000.00916.80
8.0.150.0030.00316.73
8.0.140.0040.00416.67
8.0.130.0030.00313.28
8.0.120.0040.00416.69
8.0.110.0000.00716.74
8.0.100.0040.00416.70
8.0.90.0030.00516.84
8.0.80.0070.00016.82
8.0.70.0040.00416.94
8.0.60.0000.00716.80
8.0.50.0080.00016.87
8.0.30.0000.00816.68
8.0.20.0000.00816.71
8.0.10.0040.00417.01
8.0.00.0040.00417.03
7.4.330.0000.00515.55
7.4.320.0000.00616.46
7.4.300.0060.00016.54
7.4.290.0030.00516.46
7.4.280.0030.00516.50
7.4.270.0040.00416.54
7.4.260.0000.00513.20
7.4.250.0000.00816.50
7.4.240.0000.00716.51
7.4.230.0030.00316.46
7.4.220.0030.00316.52
7.4.210.0030.00316.61
7.4.200.0070.00016.56
7.4.190.0040.00416.70
7.4.180.0000.00816.39
7.4.160.0030.00316.60
7.4.150.0070.00016.46
7.4.140.0060.00016.40
7.4.130.0000.00716.32
7.4.120.0030.00316.43
7.4.110.0030.00316.24
7.4.100.0000.00716.37
7.4.90.0000.00716.36
7.4.80.0070.00016.29
7.4.70.0000.00716.51
7.4.60.0030.00316.43
7.4.50.0000.00716.38
7.4.40.0050.00216.18
7.4.30.0000.00716.23
7.4.20.0040.00416.39
7.4.10.0030.00316.15
7.4.00.0040.00416.46
7.3.330.0060.00016.00
7.3.320.0060.00013.01
7.3.310.0040.00416.09
7.3.300.0000.00616.17
7.3.290.0040.00216.16
7.3.280.0060.00016.16
7.3.270.0070.00016.17
7.3.260.0000.00715.97
7.3.250.0030.00315.99
7.3.240.0000.00616.13
7.3.230.0030.00315.97
7.3.220.0030.00316.06
7.3.210.0030.00315.93
7.3.200.0070.00016.06
7.3.190.0060.00016.08
7.3.180.0000.00716.09
7.3.170.0060.00315.98
7.3.160.0040.00415.85
7.3.150.0030.00615.88
7.3.140.0000.00716.09
7.3.130.0030.00316.04
7.3.120.0030.00316.09
7.3.110.0000.00715.91
7.3.100.0000.00616.02
7.3.90.0030.00316.33
7.3.80.0000.00615.99
7.3.70.0030.00316.09
7.3.60.0000.00716.23
7.3.50.0060.00016.10
7.3.40.0060.00016.23
7.3.30.0060.00016.23
7.3.20.0070.00016.24
7.3.10.0030.00316.14
7.3.00.0050.00216.13

preferences:
42.22 ms | 401 KiB | 5 Q