3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CollatorExt extends Collator { public static function create($locale) { return new self(); } } try { $collExt = CollatorExt::create('de_DE'); //object(CollatorExt) } catch (\Throwable | \Error $t) { echo 'an error occured'; }

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.0090.01218.66
8.4.120.0070.00420.64
8.4.110.0110.00918.68
8.4.100.0110.00918.20
8.4.90.0120.00720.70
8.4.80.0050.00820.52
8.4.70.0040.00618.55
8.4.60.0090.01120.46
8.4.50.0120.00918.80
8.4.40.0180.00317.96
8.4.30.0130.00618.68
8.4.20.0060.01318.11
8.4.10.0040.00417.95
8.3.250.0070.00216.95
8.3.240.0140.00616.77
8.3.230.0120.00816.48
8.3.220.0040.00418.93
8.3.210.0150.00316.53
8.3.200.0090.00816.37
8.3.190.0140.00516.93
8.3.180.0120.00718.86
8.3.170.0140.00318.95
8.3.160.0100.00716.77
8.3.150.0070.01116.99
8.3.140.0080.00016.63
8.3.130.0080.00018.55
8.3.120.0090.00019.18
8.3.110.0060.00320.94
8.3.100.0040.00418.36
8.3.90.0000.00826.77
8.3.80.0090.00016.75
8.3.70.0070.00716.75
8.3.60.0120.00316.88
8.3.50.0140.00720.37
8.3.40.0110.00318.91
8.3.30.0070.00718.67
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.290.0130.00617.16
8.2.280.0110.00818.32
8.2.270.0090.00016.63
8.2.260.0060.00318.63
8.2.250.0050.00318.50
8.2.240.0060.00318.70
8.2.230.0090.00022.58
8.2.220.0040.00424.06
8.2.210.0080.00026.77
8.2.200.0100.00016.88
8.2.190.0120.00916.63
8.2.180.0090.01225.92
8.2.170.0040.01119.13
8.2.160.0100.00322.96
8.2.150.0030.00625.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0030.00722.29
8.2.100.0090.00317.84
8.2.90.0000.00919.14
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0040.00417.63
8.2.50.0030.00517.98
8.2.40.0000.00718.16
8.2.30.0030.00517.93
8.2.20.0040.00420.43
8.2.10.0080.00017.68
8.2.00.0040.00419.15
8.1.330.0120.00716.23
8.1.320.0070.01216.43
8.1.310.0040.00418.44
8.1.300.0130.00318.00
8.1.290.0090.00030.84
8.1.280.0140.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0070.00328.09
8.1.240.0060.00321.24
8.1.230.0040.00817.69
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0080.00417.22
8.1.190.0040.00417.22
8.1.180.0030.00518.10
8.1.170.0050.00317.62
8.1.160.0040.00418.84
8.1.150.0040.00418.55
8.1.140.0050.00317.48
8.1.130.0000.00720.16
8.1.120.0070.00017.45
8.1.110.0000.00917.37
8.1.100.0070.00017.34
8.1.90.0000.00817.43
8.1.80.0000.00817.39
8.1.70.0040.00417.41
8.1.60.0030.00517.59
8.1.50.0040.00417.41
8.1.40.0040.00417.42
8.1.30.0030.00617.51
8.1.20.0100.00617.56
8.1.10.0090.00717.51
8.1.00.0130.00517.39
8.0.300.0000.00718.77
8.0.290.0000.00916.88
8.0.280.0000.00718.36
8.0.270.0040.00416.96
8.0.260.0070.00018.44
8.0.250.0050.00316.92
8.0.240.0000.00716.86
8.0.230.0040.00416.81
8.0.220.0000.00716.87
8.0.210.0000.00716.78
8.0.200.0040.00416.95
8.0.190.0000.00716.95
8.0.180.0050.00216.80
8.0.170.0090.00016.89
8.0.160.0040.00416.88
8.0.150.0070.00716.81
8.0.140.0100.00416.81
8.0.130.0100.00516.81
8.0.120.0090.00616.83
8.0.110.0110.00316.83
8.0.100.0120.00316.80
8.0.90.0120.00216.87
8.0.80.0070.00616.76
8.0.70.0090.00516.79
8.0.60.0090.00616.84
8.0.50.0050.00816.82
8.0.30.0080.00616.88
8.0.20.0080.00516.86
8.0.10.0130.00116.93
7.4.330.0030.00315.55
7.4.320.0040.00416.45
7.4.300.0000.00616.59
7.4.290.0060.00616.34
7.4.280.0070.01016.50
7.4.270.0160.00216.51
7.4.260.0130.00516.45
7.4.250.0140.00416.47
7.4.240.0140.00516.47
7.4.230.0160.00316.42
7.4.220.0130.00416.45
7.4.210.0130.00416.53
7.4.200.0110.00716.48
7.4.190.0120.00416.54
7.4.180.0110.00616.52
7.4.160.0130.00316.59
7.4.150.0110.00416.50
7.4.140.0120.00316.42
7.4.130.0130.00316.36
7.4.120.0110.00516.38
7.4.110.0090.00316.50
7.4.100.0080.00416.43
7.4.90.0110.00416.43
7.4.80.0110.00416.49
7.4.70.0110.00516.37
7.4.60.0130.00316.37
7.4.50.0110.00416.25
7.4.40.0140.00316.24
7.4.30.0100.00416.25
7.4.20.0120.00316.31
7.4.10.0090.00416.36
7.4.00.0070.00616.38

preferences:
34.08 ms | 403 KiB | 5 Q