3v4l.org

run code in 300+ PHP versions simultaneously
<?php function character_iterator ($str) { $len=strlen($str); for ($i=0;$i<$len;++$i) yield ord($str[$i]); } function code_point_iterator ($str) { $i=0; $cp=0; foreach (character_iterator(iconv('utf-8','utf-32be',$str)) as $b) { if ($i===4) { $i=0; yield $cp; $cp=0; } $cp<<=8; $cp|=$b; ++$i; } if ($i!==0) yield $cp; } foreach (code_point_iterator('schieße') as $cp) var_dump(\IntlChar::charName(\IntlChar::foldCase($cp))); ?>

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.0100.00716.63
8.3.50.0150.00421.92
8.3.40.0040.01118.67
8.3.30.0120.00318.75
8.3.20.0080.00020.39
8.3.10.0000.00823.45
8.3.00.0050.00319.85
8.2.180.0130.00617.00
8.2.170.0090.00622.96
8.2.160.0100.00319.30
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0030.00621.04
8.2.120.0040.00426.35
8.2.110.0030.00720.98
8.2.100.0080.00417.91
8.2.90.0090.00019.23
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0080.00418.07
8.2.40.0040.00422.33
8.2.30.0000.00720.59
8.2.20.0040.00417.74
8.2.10.0060.00318.14
8.2.00.0000.00718.09
8.1.280.0130.00625.92
8.1.270.0110.00320.25
8.1.260.0080.00028.09
8.1.250.0080.00028.09
8.1.240.0000.01123.81
8.1.230.0050.00520.75
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.36
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0060.00318.46
8.1.160.0000.00720.74
8.1.150.0000.00818.89
8.1.140.0000.00819.59
8.1.130.0000.00717.66
8.1.120.0070.00017.52
8.1.110.0000.00717.48
8.1.100.0000.00817.48
8.1.90.0090.00017.49
8.1.80.0020.00517.38
8.1.70.0070.00017.38
8.1.60.0040.00417.59
8.1.50.0000.00817.41
8.1.40.0030.00517.39
8.1.30.0040.00417.66
8.1.20.0040.00417.64
8.1.10.0000.00717.58
8.1.00.0040.00417.41
8.0.300.0000.00718.77
8.0.290.0020.00516.63
8.0.280.0030.00318.33
8.0.270.0040.00417.18
8.0.260.0030.00317.23
8.0.250.0030.00317.00
8.0.240.0030.00317.09
8.0.230.0080.00016.92
8.0.220.0080.00016.91
8.0.210.0000.00716.85
8.0.200.0000.00616.91
8.0.190.0040.00716.92
8.0.180.0000.00716.90
8.0.170.0050.00317.00
8.0.160.0040.00416.96
8.0.150.0040.00416.88
8.0.140.0000.00716.91
8.0.130.0060.00013.44
8.0.120.0030.00817.01
8.0.110.0040.00417.12
8.0.100.0030.00616.99
8.0.90.0030.00617.02
8.0.80.0140.00417.20
8.0.70.0000.00917.18
8.0.60.0030.00617.14
8.0.50.0000.00917.02
8.0.30.0110.00917.11
8.0.20.0090.01217.40
8.0.10.0000.01017.26
8.0.00.0110.01016.94
7.4.330.0050.00016.77
7.4.320.0030.00316.61
7.4.300.0000.00616.53
7.4.290.0000.00616.51
7.4.280.0040.00416.49
7.4.270.0030.00316.63
7.4.260.0040.00316.55
7.4.250.0060.00317.35
7.4.240.0050.00417.36
7.4.230.0040.00417.36
7.4.220.0030.01517.45
7.4.210.0060.01017.27
7.4.200.0030.00617.17
7.4.160.0090.01517.15
7.4.150.0170.00417.40
7.4.140.0110.01317.86
7.4.130.0140.01017.48
7.4.120.0080.01217.33
7.4.110.0050.01617.30
7.4.100.0120.01517.48
7.4.90.0100.01017.38
7.4.80.0100.00919.39
7.4.70.0100.01116.94
7.4.60.0090.01017.04
7.4.50.0110.01217.21
7.4.40.0130.00717.13
7.4.30.0100.01016.86
7.4.20.0070.01317.02
7.4.10.0110.01416.87
7.4.00.0050.01116.67
7.3.330.0030.00313.15
7.3.320.0060.00013.29
7.3.310.0000.00817.05
7.3.300.0050.00317.29
7.3.290.0070.01117.23
7.3.280.0100.01017.23
7.3.270.0090.01017.40
7.3.260.0110.00817.50
7.3.250.0130.01117.33
7.3.240.0080.01217.38
7.3.230.0130.01417.02
7.3.210.0030.01617.47
7.3.200.0090.00917.30
7.3.190.0070.01217.09
7.3.180.0110.01217.38
7.3.170.0110.01217.24
7.3.160.0060.01517.37
7.3.150.0120.00617.15
7.3.140.0100.01617.16
7.3.130.0040.01516.97
7.3.120.0130.01116.25
7.3.110.0040.01516.37
7.3.100.0110.00616.27
7.3.90.0110.00916.39
7.3.80.0080.00716.57
7.3.70.0070.00916.20
7.3.60.0030.01316.38
7.3.50.0130.00716.35
7.3.40.0090.00916.17
7.3.30.0070.01116.20
7.3.20.0080.01117.23
7.3.10.0060.01217.36
7.3.00.0070.01317.30
7.2.330.0090.00917.41
7.2.320.0090.01217.41
7.2.310.0110.01417.15
7.2.300.0090.01317.33
7.2.290.0060.01217.42
7.2.280.0090.01517.20
7.2.270.0100.01017.38
7.2.260.0110.01117.16
7.2.250.0030.01717.48
7.2.240.0130.00516.61
7.2.230.0110.00916.50
7.2.220.0070.01016.80
7.2.210.0070.01016.27
7.2.200.0080.00616.62
7.2.190.0070.01216.46
7.2.180.0120.00816.39
7.2.170.0060.00916.42
7.2.160.0080.01016.47
7.2.150.0100.01117.57
7.2.140.0070.01317.46
7.2.130.0070.01117.61
7.2.120.0090.01217.54
7.2.110.0090.01117.48
7.2.100.0090.00917.38
7.2.90.0110.00717.56
7.2.80.0160.00817.52
7.2.70.0080.01317.54
7.2.60.0110.00717.50
7.2.50.0120.01117.58
7.2.40.0080.01217.55
7.2.30.0090.00717.55
7.2.20.0210.00917.54
7.2.10.0050.01517.49
7.2.00.0100.00818.22
7.1.330.0580.01216.55
7.1.320.0110.01516.44
7.1.310.0250.00716.31
7.1.300.0120.01316.46
7.1.290.0110.01216.58
7.1.280.0120.01016.31
7.1.270.0140.00916.40
7.1.260.0150.01016.47
7.1.250.0100.01016.60
7.1.240.0190.01016.40
7.1.230.0210.00816.40
7.1.220.0180.01116.44
7.1.210.0230.00616.37
7.1.200.0040.01816.57
7.1.190.0100.01016.46
7.1.180.0110.00816.44
7.1.170.0090.00916.26
7.1.160.0110.00616.52
7.1.150.0130.01016.39
7.1.140.0210.00916.53
7.1.130.0550.01416.17
7.1.120.0150.01516.36
7.1.110.0190.00916.45
7.1.100.0120.00917.79
7.1.90.0160.01216.58
7.1.80.0150.01816.53
7.1.70.0130.00717.34
7.1.60.0170.01117.99
7.1.50.0150.01325.58
7.1.40.0320.00616.34
7.1.30.0140.01416.28
7.1.20.0320.00616.54
7.1.10.0200.01316.44
7.1.00.0100.04319.93
7.0.330.0180.01115.99
7.0.320.0260.00715.93
7.0.310.0190.01315.86
7.0.300.0060.01315.96
7.0.290.0070.01415.99
7.0.280.0080.01116.09
7.0.270.0310.00615.94
7.0.260.0140.01416.01
7.0.250.0220.00515.94
7.0.240.0130.01316.09
7.0.230.0200.00916.09
7.0.220.0170.01216.18
7.0.210.0190.00816.20
7.0.200.0140.00516.82
7.0.190.0140.01416.15
7.0.180.0290.00016.14
7.0.170.0200.01416.00
7.0.160.0170.01116.10
7.0.150.0280.00016.18
7.0.140.1080.00316.12
7.0.130.0130.01316.18
7.0.120.0190.01316.05
7.0.110.0200.00816.03
7.0.100.0160.01216.15
7.0.90.0130.00615.91
7.0.80.0240.00416.07
7.0.70.0190.01215.83
7.0.60.0140.02117.92
7.0.50.0080.05216.92
7.0.40.0130.03318.46
7.0.30.0210.03118.43
7.0.20.0210.04018.53
7.0.10.0150.03818.44
7.0.00.0120.04318.36
5.6.400.0220.01415.84
5.6.390.0250.01415.87
5.6.380.0210.01016.53
5.6.370.0160.01316.27
5.6.360.0090.01316.44
5.6.350.0140.00616.34
5.6.340.0070.01415.84
5.6.330.0150.01516.44
5.6.320.0190.01016.32
5.6.310.0230.00516.50
5.6.300.0200.01116.23
5.6.290.0220.00616.25
5.6.280.0130.02218.68
5.6.270.0210.01116.21
5.6.260.0240.00616.14
5.6.250.0110.01516.32
5.6.240.0180.01116.44
5.6.230.0200.01016.04
5.6.220.0160.01616.14
5.6.210.0140.04318.32
5.6.200.0130.03417.33
5.6.190.0120.02718.60
5.6.180.0230.02318.35
5.6.170.0290.03018.49
5.6.160.0060.02918.37
5.6.150.0100.03717.27
5.6.140.0080.04517.21
5.6.130.0070.04817.26
5.6.120.0170.04118.62
5.6.110.0080.05118.74
5.6.100.0100.04618.67
5.6.90.0100.04318.69
5.6.80.0070.04918.28
5.6.70.0150.00415.97
5.6.60.0040.01516.29
5.6.50.0080.01216.11
5.6.40.0120.00916.16
5.6.30.0100.01016.14
5.6.20.0160.01115.89
5.6.10.0140.01516.35
5.6.00.0200.01016.00
5.5.380.0150.01516.03
5.5.370.0140.01515.86
5.5.360.0210.00916.37
5.5.350.0150.04118.31
5.5.340.0100.04517.09
5.5.330.0130.04618.34
5.5.320.0160.04818.45
5.5.310.0160.02718.41
5.5.300.0060.04417.35
5.5.290.0090.02417.12
5.5.280.0050.04218.55
5.5.270.0110.04618.37
5.5.260.0070.04318.46
5.5.250.0140.04018.39
5.5.240.0150.03518.18
5.5.230.0190.01016.06
5.5.220.0180.01516.05
5.5.210.0070.01416.05
5.5.200.0100.01316.16
5.5.190.0070.01316.12
5.5.180.0090.01215.94
5.5.170.0160.01316.22
5.5.160.0220.00715.99
5.5.150.0180.01316.05
5.5.140.0170.01216.06
5.5.130.0170.01416.12
5.5.120.0270.00716.25
5.5.110.0130.01416.21
5.5.100.0090.01816.09
5.5.90.0190.00916.09
5.5.80.0180.01116.27
5.5.70.0220.00616.23
5.5.60.0190.00616.10
5.5.50.0220.00815.99
5.5.40.0150.01116.14
5.5.30.0160.00915.93
5.5.20.0130.01316.05
5.5.10.0120.01416.16
5.5.00.0120.01516.05

preferences:
64.77 ms | 401 KiB | 5 Q