3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = 'cs_CZ.ISO8859-2'; setlocale( LC_CTYPE, $locale); $char = 'ž'; echo "Testing strtoupper('{$char}'):\n"; echo "Expected result: Ž\n"; echo 'Actual result: ' . strtoupper($char) . "\n";

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.20.0130.00718.05
8.4.10.0070.01324.02
8.3.140.0170.00716.91
8.3.130.0070.00718.59
8.3.120.0100.01020.92
8.3.110.0070.01116.74
8.3.100.0090.00617.02
8.3.90.0110.00326.77
8.3.80.0070.00318.55
8.3.70.0070.01417.00
8.3.60.0110.01116.63
8.3.50.0130.00718.78
8.3.40.0030.01020.51
8.3.30.0070.00718.92
8.3.20.0050.00224.18
8.3.10.0020.00524.66
8.3.00.0080.00026.16
8.2.260.0050.00316.63
8.2.250.0040.00418.64
8.2.240.0130.00019.26
8.2.230.0030.00620.94
8.2.220.0110.00024.06
8.2.210.0070.00726.77
8.2.200.0030.00616.88
8.2.190.0110.01116.63
8.2.180.0180.00925.92
8.2.170.0140.00019.02
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0050.00224.66
8.2.130.0000.00726.16
8.2.120.0070.00021.24
8.2.110.0060.00322.49
8.2.100.0100.00319.70
8.2.90.0060.00617.88
8.2.80.0060.00319.02
8.2.70.0000.00918.18
8.2.60.0070.00417.75
8.2.50.0080.00017.88
8.2.40.0050.00318.47
8.2.30.0100.00318.31
8.2.20.0130.00019.40
8.2.10.0000.00718.22
8.2.00.0000.00719.50
8.1.310.0030.00516.70
8.1.300.0080.00520.22
8.1.290.0060.00330.84
8.1.280.0150.00625.92
8.1.270.0060.00324.08
8.1.260.0090.00926.35
8.1.250.0050.00328.09
8.1.240.0030.00619.37
8.1.230.0040.00717.89
8.1.220.0000.00817.90
8.1.210.0120.00018.77
8.1.200.0000.00917.48
8.1.190.0090.00317.35
8.1.180.0080.00418.10
8.1.170.0040.00718.74
8.1.160.0080.00419.14
8.1.150.0050.01118.89
8.1.140.0080.00417.66
8.1.130.0000.00819.40
8.1.120.0060.00617.73
8.1.110.0040.00417.71
8.1.100.0090.00217.64
8.1.90.0100.00717.63
8.1.80.0110.00617.62
8.1.70.0140.00417.60
8.1.60.0080.01017.73
8.1.50.0130.00517.68
8.1.40.0140.00517.78
8.1.30.0080.00917.93
8.1.20.0140.00517.82
8.1.10.0130.00617.76
8.1.00.0180.00317.74
8.0.300.0000.00718.77
8.0.290.0050.00317.00
8.0.280.0030.00318.75
8.0.270.0030.00318.31
8.0.260.0000.00717.19
8.0.250.0070.00017.13
8.0.240.0060.00617.18
8.0.230.0090.00217.23
8.0.220.0150.00217.11
8.0.210.0070.00917.19
8.0.200.0090.00717.23
8.0.190.0140.00317.23
8.0.180.0120.00417.16
8.0.170.0070.00817.23
8.0.160.0090.00817.23
8.0.150.0120.00517.13
8.0.140.0120.00417.11
8.0.130.0140.00317.11
8.0.120.0140.00217.11
8.0.110.0080.00817.05
8.0.100.0100.00517.05
8.0.90.0120.00417.16
8.0.80.0070.00917.21
8.0.70.0080.00817.18
8.0.60.0130.00417.19
8.0.50.0080.00817.14
8.0.30.0100.00517.22
8.0.20.0100.00717.13
8.0.10.0040.01017.17
7.4.330.0050.00015.55
7.4.320.0060.00016.74
7.4.300.0090.00516.77
7.4.290.0140.00216.69
7.4.280.0090.00416.80
7.4.270.0110.00516.75
7.4.260.0040.01016.82
7.4.250.0080.00716.80
7.4.240.0120.00416.76
7.4.230.0110.00516.75
7.4.220.0100.00316.60
7.4.210.0070.00716.74
7.4.200.0110.00616.73
7.4.190.0100.00416.80
7.4.180.0100.00516.80
7.4.160.0100.00416.82
7.4.150.0080.00716.64
7.4.140.0130.00216.66
7.4.130.0100.00416.73
7.4.120.0050.01116.70
7.4.110.0090.00616.63
7.4.100.0100.00516.70
7.4.90.0080.00716.58
7.4.80.0130.00216.72
7.4.70.0090.00716.68
7.4.60.0080.00716.75
7.4.50.0100.00516.65
7.4.40.0090.00616.59
7.4.30.0090.00616.64
7.4.20.0110.00516.60
7.4.10.0060.00916.70
7.4.00.0150.00016.71

preferences:
35.04 ms | 403 KiB | 5 Q