3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale (LC_COLLATE, 'si'); $m = array('Žunko', 'Červ', 'Igor', 'Uroš'); var_dump($m); sort($m, SORT_LOCALE_STRING); var_dump($m); $coll = collator_create('sl_SL'); $coll->sort($m);

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.0120.00318.00
8.3.50.0070.00717.88
8.3.40.0120.00919.79
8.3.30.0040.01119.76
8.3.20.0080.00021.41
8.3.10.0040.00423.03
8.3.00.0060.00325.03
8.2.180.0220.00019.66
8.2.170.0110.00722.96
8.2.160.0100.00321.78
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0030.01221.26
8.2.120.0000.00826.35
8.2.110.0070.00323.63
8.2.100.0060.00619.30
8.2.90.0000.00920.47
8.2.80.0050.00518.85
8.2.70.0060.00319.00
8.2.60.0050.00519.54
8.2.50.0070.00318.73
8.2.40.0080.00023.74
8.2.30.0080.00021.80
8.2.20.0030.00519.27
8.2.10.0040.00419.66
8.2.00.0080.00019.45
8.1.280.0150.00025.92
8.1.270.0060.00325.24
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00323.26
8.1.230.0060.00619.04
8.1.220.0100.00019.16
8.1.210.0110.00018.77
8.1.200.0020.00718.85
8.1.190.0050.00418.90
8.1.180.0050.00518.89
8.1.170.0050.00620.01
8.1.160.0040.00421.84
8.1.150.0060.00320.13
8.1.140.0040.00421.05
8.1.130.0030.00319.13
8.1.120.0000.00718.76
8.1.110.0000.00818.68
8.1.100.0030.00518.70
8.1.90.0060.00318.78
8.1.80.0000.00718.77
8.1.70.0000.00718.80
8.1.60.0080.00019.02
8.1.50.0050.00518.83
8.1.40.0000.00818.98
8.1.30.0050.00319.07
8.1.20.0000.00819.02
8.1.10.0000.00818.92
8.1.00.0000.00818.95
8.0.300.0050.00318.77
8.0.290.0000.00718.13
8.0.280.0020.00519.61
8.0.270.0030.00318.76
8.0.260.0040.00418.63
8.0.250.0000.00818.20
8.0.240.0070.00018.21
8.0.230.0080.00018.26
8.0.220.0070.00018.05
8.0.210.0000.00718.02
8.0.200.0050.00218.13
8.0.190.0030.00718.28
8.0.180.0000.00718.31
8.0.170.0110.00018.30
8.0.160.0070.00018.30
8.0.150.0000.00718.14
8.0.140.0030.00718.14
8.0.130.0000.00513.38
8.0.120.0080.00018.38
8.0.110.0060.00318.23
8.0.100.0050.00318.31
8.0.90.0000.00718.29
8.0.80.0070.01018.45
8.0.70.0080.00018.38
8.0.60.0050.00218.36
8.0.50.0080.00018.31
8.0.30.0110.00718.39
8.0.20.0130.00918.51
8.0.10.0050.00318.38
8.0.00.0140.00618.01
7.4.330.0030.00316.83
7.4.320.0030.00317.93
7.4.300.0030.00318.00
7.4.290.0030.00617.94
7.4.280.0000.01117.85
7.4.270.0000.00817.86
7.4.260.0040.00417.89
7.4.250.0040.00417.84
7.4.240.0000.00717.90
7.4.230.0040.00417.68
7.4.220.0100.01017.97
7.4.210.0000.01817.92
7.4.200.0000.00718.01
7.4.160.0090.00917.68
7.4.150.0110.01117.91
7.4.140.0100.01617.86
7.4.130.0100.00917.97
7.4.120.0130.00617.99
7.4.110.0150.00417.89
7.4.100.0120.00917.91
7.4.90.0170.00317.87
7.4.80.0070.01119.39
7.4.70.0030.01318.00
7.4.60.0070.01017.88
7.4.50.0000.01717.70
7.4.40.0100.00717.92
7.4.30.0140.00917.96
7.4.00.0070.01116.44
7.3.330.0000.00513.08
7.3.320.0000.00513.06
7.3.310.0040.00417.64
7.3.300.0040.00417.73
7.3.290.0070.00817.67
7.3.280.0110.00917.68
7.3.270.0140.01117.77
7.3.260.0120.00818.05
7.3.250.0060.01217.89
7.3.240.0140.00718.06
7.3.230.0060.01417.66
7.3.210.0060.01217.60
7.3.200.0130.00619.39
7.3.190.0090.01318.02
7.3.180.0060.01517.95
7.3.170.0100.01317.76
7.3.160.0120.00417.88
7.2.330.0140.01017.69
7.2.320.0170.01118.04
7.2.310.0000.01818.02
7.2.300.0150.00718.19
7.2.290.0070.01018.14
7.2.60.0040.01117.94
7.2.00.0000.01320.86
7.1.200.0090.00617.35
7.1.100.0030.00719.75
7.1.70.0070.00018.86
7.1.60.0100.01319.20
7.1.50.0080.00418.64
7.1.00.0070.07323.96
7.0.200.0000.00918.28
7.0.60.0100.07322.88
7.0.50.0100.07717.76
7.0.40.0000.07721.44
7.0.30.0230.08321.54
7.0.20.0300.07721.26
7.0.10.0030.08721.52
7.0.00.0100.04021.49
5.6.280.0070.03022.34
5.6.210.0030.05322.05
5.6.200.0030.04018.22
5.6.190.0030.08721.70
5.6.180.0370.03721.56
5.6.170.0200.08721.80
5.6.160.0030.09021.61
5.6.150.0070.04018.22
5.6.140.0070.05018.24
5.6.130.0030.10018.18
5.6.120.0070.04322.55
5.6.110.0030.06722.51
5.6.100.0100.03322.22
5.6.90.0130.07722.34
5.6.80.0030.08021.93
5.5.350.0070.03721.80
5.5.340.0030.08317.95
5.5.330.0030.06021.63
5.5.320.0570.06321.42
5.5.310.0430.06721.36
5.5.300.0100.04718.01
5.5.290.0100.07317.95
5.5.280.0170.07722.10
5.5.270.0070.04022.14
5.5.260.0100.08021.88
5.5.250.0130.06322.06
5.5.240.0100.03721.54

preferences:
51.04 ms | 401 KiB | 5 Q