3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("G\xediron", // &iacute; (Latin-1) "G\xc3\xb3nzales", // &oacute; (UTF-8) "G\xc3\xa9 ara", // &eacute; (UTF-8) "G\xe1rcia"); // &aacute; (Latin-1) asort($arr, SORT_REGULAR); var_dump($arr);

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.0070.00716.63
8.3.50.0100.00518.01
8.3.40.0120.00318.71
8.3.30.0000.01418.96
8.3.20.0070.00020.21
8.3.10.0000.00721.94
8.3.00.0040.00419.25
8.2.180.0140.00018.16
8.2.170.0070.00722.96
8.2.160.0140.00022.21
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0000.00819.36
8.2.110.0070.00319.03
8.2.100.0070.00617.50
8.2.90.0060.00319.13
8.2.80.0030.00517.97
8.2.70.0050.00317.63
8.2.60.0000.00817.90
8.2.50.0080.00018.07
8.2.40.0000.00819.67
8.2.30.0040.00417.95
8.2.20.0000.00717.49
8.2.10.0040.00418.05
8.2.00.0000.00717.66
8.1.280.0060.01525.92
8.1.270.0060.00318.90
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0110.00017.42
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.11
8.1.190.0000.00717.10
8.1.180.0040.00418.10
8.1.170.0000.01020.13
8.1.160.0050.00321.86
8.1.150.0030.00518.82
8.1.140.0040.00417.39
8.1.130.0030.00317.87
8.1.120.0000.00817.40
8.1.110.0070.00017.37
8.1.100.0000.00717.27
8.1.90.0050.00317.40
8.1.80.0000.00717.39
8.1.70.0000.00717.29
8.1.60.0000.00817.40
8.1.50.0000.00817.38
8.1.40.0060.00617.30
8.1.30.0000.00917.57
8.1.20.0040.00417.41
8.1.10.0000.00717.42
8.1.00.0070.00317.30
8.0.300.0070.00018.77
8.0.290.0000.00716.58
8.0.280.0030.00318.29
8.0.270.0000.00717.13
8.0.260.0000.00617.10
8.0.250.0030.00316.86
8.0.240.0000.00816.91
8.0.230.0000.00716.87
8.0.220.0040.00316.70
8.0.210.0040.00416.73
8.0.200.0070.00016.78
8.0.190.0040.00416.87
8.0.180.0040.00416.75
8.0.170.0000.00916.80
8.0.160.0070.00016.89
8.0.150.0040.00416.75
8.0.140.0050.00216.68
8.0.130.0000.00713.25
8.0.120.0050.00316.64
8.0.110.0040.00416.71
8.0.100.0050.00316.60
8.0.90.0040.00416.67
8.0.80.0090.01216.81
8.0.70.0000.00716.83
8.0.60.0050.00216.70
8.0.50.0040.00416.85
8.0.30.0110.01216.82
8.0.20.0080.01117.40
8.0.10.0000.00716.82
8.0.00.0120.00716.48
7.4.330.0000.00515.15
7.4.320.0000.00616.43
7.4.300.0060.00016.54
7.4.290.0000.00816.45
7.4.280.0050.00216.35
7.4.270.0060.00016.37
7.4.260.0000.00716.56
7.4.250.0000.00716.37
7.4.240.0030.00316.43
7.4.230.0070.00016.23
7.4.220.0060.02216.33
7.4.210.0050.01316.51
7.4.200.0030.00316.37
7.4.160.0090.01116.47
7.4.150.0230.00317.40
7.4.140.0110.00817.86
7.4.130.0160.00316.44
7.4.120.0110.01116.45
7.4.110.0060.01116.49
7.4.100.0090.00916.51
7.4.90.0100.00716.37
7.4.80.0150.00319.39
7.4.70.0060.00916.33
7.4.60.0030.01416.36
7.4.50.0030.00316.38
7.4.40.0160.00416.69
7.4.30.0090.00916.38
7.4.00.0040.01114.89
7.3.330.0050.00013.02
7.3.320.0100.00212.99
7.3.310.0000.00716.01
7.3.300.0020.00515.95
7.3.290.0030.00316.18
7.3.280.0080.01116.10
7.3.270.0100.00717.40
7.3.260.0140.00316.11
7.3.250.0080.01016.28
7.3.240.0100.01016.23
7.3.230.0100.01016.39
7.3.210.0170.00716.19
7.3.200.0100.01019.39
7.3.190.0070.01016.60
7.3.180.0060.01016.35
7.3.170.0130.01016.43
7.3.160.0100.00716.11
7.2.330.0130.00916.24
7.2.320.0090.00816.36
7.2.310.0090.00616.51
7.2.300.0130.00316.41
7.2.290.0030.01616.29
7.2.60.0100.00316.53
7.2.00.0130.00419.34
7.1.200.0030.00915.81
7.1.100.0030.00717.86
7.1.70.0000.00817.01
7.1.60.0140.01019.50
7.1.50.0070.01716.92
7.1.00.0030.07722.50
7.0.200.0180.00616.43
7.0.140.0030.06322.01
7.0.60.0000.04319.96
7.0.50.0000.08017.71
7.0.40.0170.06319.98
7.0.30.0270.05020.03
7.0.20.0230.08020.02
7.0.10.0230.08320.08
7.0.00.0100.08320.30
5.6.280.0000.07721.04
5.6.210.0130.07320.64
5.6.200.0070.06018.21
5.6.190.0030.04320.43
5.6.180.0200.04020.43
5.6.170.0330.04720.52
5.6.160.0100.08320.48
5.6.150.0070.04318.09
5.6.140.0100.04318.18
5.6.130.0100.07318.22
5.6.120.0070.08720.88
5.6.110.0100.08020.97
5.6.100.0070.08320.94
5.6.90.0030.06020.87
5.6.80.0070.08020.52
5.6.70.0370.06320.35
5.5.350.0170.07020.38
5.5.340.0100.08017.98
5.5.330.0000.07020.28
5.5.320.0130.07020.15
5.5.310.0300.07320.29
5.5.300.0130.07317.98
5.5.290.0170.07317.91
5.5.280.0030.08720.86
5.5.270.0030.07320.61
5.5.260.0170.06020.64
5.5.250.0070.03720.67
5.5.240.0070.04320.27
5.4.450.0730.05019.38
5.4.440.0800.05319.47
5.4.430.0630.06019.54
5.4.420.0130.05319.46
5.4.410.0800.05319.11
5.4.400.0230.05718.77
5.4.390.0300.05318.49
5.4.380.0170.07018.72
5.4.370.0200.07018.60
5.4.360.0430.04718.52
5.4.350.0400.06318.77
5.4.340.0370.04318.46
5.4.320.0230.06018.55
5.4.310.0230.06018.60
5.4.300.0270.05718.61
5.4.290.0170.06718.49
5.4.280.0200.05718.51
5.4.270.0170.05718.69
5.4.260.0330.05018.52
5.4.250.0270.06018.71
5.4.240.0230.08018.55
5.4.230.0200.05718.51
5.4.220.0230.06318.76
5.4.210.0370.04018.77
5.4.200.0300.04316.55
5.4.190.0300.04718.66
5.4.180.0130.07018.73
5.4.170.0170.06718.75
5.4.160.0170.05718.66
5.4.150.0200.06018.67
5.4.140.0130.06016.23
5.4.130.0230.04716.22
5.4.120.0200.05016.19
5.4.110.0300.04316.20
5.4.100.0230.04716.24
5.4.90.0130.05716.32
5.4.80.0230.04716.14
5.4.70.0270.05716.22
5.4.60.0370.05316.20
5.4.50.0200.06316.32
5.4.40.0300.04715.97
5.4.30.0370.04316.28
5.4.20.0200.05716.18
5.4.10.0270.05016.22
5.4.00.0230.04715.53
5.3.290.0130.07014.73
5.3.280.0200.05314.52
5.3.270.0230.05314.55
5.3.260.0130.06014.68
5.3.250.0170.06314.54
5.3.240.0230.05714.70
5.3.230.0230.07314.54
5.3.220.0270.04714.66
5.3.210.0170.06314.47
5.3.200.0170.05714.51
5.3.190.0070.07314.56
5.3.180.0270.06714.56
5.3.170.0330.04314.55
5.3.160.0100.06314.50
5.3.150.0270.05014.50
5.3.140.0170.05714.46
5.3.130.0200.06314.45
5.3.120.0370.06014.59
5.3.110.0230.05714.52
5.3.100.0330.04014.02
5.3.90.0300.04314.00
5.3.80.0130.05713.91
5.3.70.0170.05314.00
5.3.60.0200.05313.96
5.3.50.0170.05713.93
5.3.40.0330.06313.91
5.3.30.0170.07013.89
5.3.20.0170.05713.72
5.3.10.0270.04713.57
5.3.00.0170.06013.74
5.2.170.0200.04011.07
5.2.160.0170.04311.06
5.2.150.0170.04311.07
5.2.140.0100.05711.11
5.2.130.0170.04311.25
5.2.120.0230.04011.13
5.2.110.0130.04711.16
5.2.100.0230.03711.09
5.2.90.0230.05711.08
5.2.80.0270.03311.06
5.2.70.0200.04011.05
5.2.60.0130.04711.10
5.2.50.0230.03710.99
5.2.40.0170.04010.92
5.2.30.0100.05010.98
5.2.20.0100.04710.87
5.2.10.0130.04010.79
5.2.00.0170.03710.82
5.1.60.0170.0339.99
5.1.50.0070.04010.00
5.1.40.0130.03310.04
5.1.30.0230.02710.34
5.1.20.0170.04710.32
5.1.10.0230.02710.09
5.1.00.0100.03710.18
5.0.50.0130.0308.58
5.0.40.0170.0308.48
5.0.30.0070.0478.22
5.0.20.0130.0238.23
5.0.10.0070.0338.18
5.0.00.0030.0478.19
4.4.90.0130.0237.13
4.4.80.0130.0177.13
4.4.70.0070.0207.13
4.4.60.0030.0277.13
4.4.50.0130.0177.13
4.4.40.0170.0277.13
4.4.30.0130.0237.13
4.4.20.0070.0307.13
4.4.10.0070.0237.13
4.4.00.0100.0337.13
4.3.110.0100.0207.13
4.3.100.0070.0207.13
4.3.90.0000.0307.13
4.3.80.0030.0377.13
4.3.70.0070.0237.13
4.3.60.0130.0137.13
4.3.50.0130.0207.13
4.3.40.0100.0337.13
4.3.30.0000.0277.13
4.3.20.0000.0277.13
4.3.10.0070.0237.13
4.3.00.0100.0237.01

preferences:
57.7 ms | 400 KiB | 5 Q