3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'A', 'a', '文', 'ث' ]; $collator = new Collator('zh'); $collator->asort( $array ); 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.0090.00019.99
8.3.120.0050.00320.77
8.3.110.0130.00720.94
8.3.100.0000.01018.41
8.3.90.0100.01026.77
8.3.80.0090.00318.38
8.3.70.0190.00018.50
8.3.60.0100.00720.18
8.3.50.0060.01325.43
8.3.40.0130.00720.58
8.3.30.0120.00420.21
8.3.20.0090.00023.50
8.3.10.0080.00021.99
8.3.00.0050.00323.48
8.2.250.0040.00420.09
8.2.240.0030.00621.04
8.2.230.0000.00822.58
8.2.220.0000.00924.06
8.2.210.0040.00426.77
8.2.200.0090.00018.49
8.2.190.0130.00918.50
8.2.180.0040.01118.13
8.2.170.0090.00622.96
8.2.160.0070.00723.78
8.2.150.0060.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00321.83
8.2.110.0090.00023.07
8.2.100.0090.00319.59
8.2.90.0030.00522.26
8.2.80.0050.00519.80
8.2.70.0110.00019.78
8.2.60.0080.00019.78
8.2.50.0040.00419.38
8.2.40.0000.01019.66
8.2.30.0030.00619.77
8.2.20.0000.00819.89
8.2.10.0000.00720.78
8.2.00.0000.00920.95
8.1.300.0180.00019.41
8.1.290.0060.00630.84
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0130.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.73
8.1.230.0030.01022.82
8.1.220.0030.00619.64
8.1.210.0070.00720.70
8.1.200.0040.00818.98
8.1.190.0050.00519.40
8.1.180.0000.00919.10
8.1.170.0080.00520.44
8.1.160.0030.00620.39
8.1.150.0040.00420.40
8.1.140.0040.00420.47
8.1.130.0050.00321.04
8.1.120.0080.00019.17
8.1.110.0000.00819.19
8.1.100.0050.00519.12
8.1.90.0040.00419.10
8.1.80.0050.00319.18
8.1.70.0070.00019.04
8.1.60.0030.00519.24
8.1.50.0030.00719.23
8.1.40.0040.00419.12
8.1.30.0030.00519.32
8.1.20.0000.00819.23
8.1.10.0120.00519.17
8.1.00.0160.00719.16
8.0.300.0040.00421.46
8.0.290.0080.00318.25
8.0.280.0050.00320.08
8.0.270.0040.00419.59
8.0.260.0040.00420.50
8.0.250.0040.00418.59
8.0.240.0050.00218.51
8.0.230.0020.00518.65
8.0.220.0030.00318.60
8.0.210.0040.00418.45
8.0.200.0080.00018.58
8.0.190.0030.00518.59
8.0.180.0000.00818.65
8.0.170.0030.00618.65
8.0.160.0040.00418.55
8.0.150.0040.00418.64
8.0.140.0120.00518.50
8.0.130.0130.00517.58
8.0.120.0120.00517.20
8.0.110.0120.00517.13
8.0.100.0130.00417.17
8.0.90.0130.00517.12
8.0.80.0150.00417.31
8.0.70.0130.00517.13
8.0.60.0120.00517.12
8.0.50.0130.00417.14
8.0.30.0140.00517.19
8.0.20.0150.00517.40
8.0.10.0150.00417.28
8.0.00.0060.00617.18
7.4.330.0030.00315.55
7.4.320.0000.00718.27
7.4.300.0060.00018.22
7.4.290.0060.00318.27
7.4.280.0080.00417.98
7.4.270.0110.00518.09
7.4.260.0160.00417.30
7.4.250.0130.00516.84
7.4.240.0120.00417.04
7.4.230.0110.00616.86
7.4.220.0080.00516.97
7.4.210.0100.00617.14
7.4.200.0110.00416.95
7.4.190.0130.00416.72
7.4.180.0120.00516.76
7.4.160.0110.00516.70
7.4.150.0120.00616.66
7.4.140.0120.00416.60
7.4.130.0120.00516.94
7.4.120.0120.00516.76
7.4.110.0110.00516.78
7.4.100.0120.00416.85
7.4.90.0110.00616.79
7.4.80.0120.00516.90
7.4.70.0160.00316.79
7.4.60.0120.00616.81
7.4.50.0130.00416.70
7.4.40.0120.00516.69
7.4.30.0110.00616.73
7.4.20.0110.00616.72
7.4.10.0110.00516.79
7.4.00.0090.00616.71
7.3.330.0160.00217.71
7.3.320.0150.00216.45
7.3.310.0130.00416.60
7.3.300.0130.00416.61
7.3.290.0110.00716.86
7.3.280.0150.00416.55
7.3.270.0130.00516.35
7.3.260.0130.00516.55
7.3.250.0130.00516.45
7.3.240.0120.00616.95
7.3.230.0140.00516.61
7.3.220.0150.00316.27
7.3.210.0150.00316.56
7.3.200.0140.00416.57
7.3.190.0120.00616.55
7.3.180.0140.00416.56
7.3.170.0130.00516.51
7.3.160.0140.00516.45
7.3.150.0140.00416.61
7.3.140.0110.00716.50
7.3.130.0110.00716.48
7.3.120.0150.00316.53
7.3.110.0140.00516.43
7.3.100.0120.00516.52
7.3.90.0110.00616.76
7.3.80.0130.00616.59
7.3.70.0130.00516.59
7.3.60.0120.00616.61
7.3.50.0140.00416.62
7.3.40.0130.00416.70
7.3.30.0120.00616.70
7.3.20.0140.00517.82
7.3.10.0110.00817.82
7.3.00.0160.00417.74
7.2.340.0130.00516.44
7.2.330.0140.00516.71
7.2.320.0110.00716.75
7.2.310.0130.00516.70
7.2.300.0140.00516.74
7.2.290.0140.00416.78
7.2.280.0120.00616.67
7.2.270.0110.00816.75
7.2.260.0130.00516.70
7.2.250.0120.00516.68
7.2.240.0120.00616.67
7.2.230.0150.00416.74
7.2.220.0120.00516.72
7.2.210.0120.00716.76
7.2.200.0150.00516.80
7.2.190.0120.00616.84
7.2.180.0140.00416.83
7.2.170.0130.00516.88
7.2.160.0130.00516.85
7.2.150.0140.00517.95
7.2.140.0140.00417.98
7.2.130.0130.00518.14
7.2.120.0160.00418.09
7.2.110.0140.00618.09
7.2.100.0150.00518.07
7.2.90.0130.00717.96
7.2.80.0140.00517.97
7.2.70.0160.00318.04
7.2.60.0130.00617.93
7.2.50.0130.00617.95
7.2.40.0160.00418.10
7.2.30.0170.00318.01
7.2.20.0140.00618.06
7.2.10.0140.00618.06
7.2.00.0180.00618.05
7.0.00.0260.00418.76
5.6.150.0230.00517.63
5.4.330.0080.00312.36
5.3.190.0080.00312.73
5.0.40.0070.0039.88
4.3.60.0030.0039.14

preferences:
27.71 ms | 403 KiB | 5 Q