3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = 'cs_CZ.ISO8859-2'; setlocale( LC_CTYPE, $locale); $char = 'ž'; echo "Testing strtoupper('{$char}') on different PHP versions:\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.00717.84
8.4.10.0110.00022.27
8.3.150.0110.00819.21
8.3.140.0150.00320.86
8.3.130.0060.00318.57
8.3.120.0070.00719.28
8.3.110.0050.00520.94
8.3.100.0000.00816.75
8.3.90.0040.00416.86
8.3.80.0070.00718.60
8.3.70.0120.00316.63
8.3.60.0140.00316.75
8.3.50.0080.00820.32
8.3.40.0130.00622.20
8.3.30.0120.00318.79
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0090.00416.90
8.2.250.0110.00418.68
8.2.240.0160.00017.17
8.2.230.0000.00922.58
8.2.220.0130.00724.06
8.2.210.0170.00026.77
8.2.200.0040.00716.63
8.2.190.0090.00616.88
8.2.180.0130.00625.92
8.2.170.0070.00719.15
8.2.160.0100.00722.96
8.2.150.0090.00025.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00020.21
8.2.110.0030.00619.56
8.2.100.0110.00017.91
8.2.90.0040.00420.67
8.2.80.0070.00318.18
8.2.70.0050.00518.18
8.2.60.0030.00818.22
8.2.50.0060.00918.07
8.2.40.0030.00618.30
8.2.30.0040.00418.29
8.2.20.0070.00019.37
8.2.10.0070.00018.36
8.2.00.0060.00619.52
8.1.310.0110.01116.00
8.1.300.0120.00618.48
8.1.290.0030.00618.88
8.1.280.0100.00625.92
8.1.270.0080.00023.77
8.1.260.0120.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00319.59
8.1.230.0090.00321.29
8.1.220.0030.00617.79
8.1.210.0040.00419.21
8.1.200.0050.00517.61
8.1.190.0090.00017.35
8.1.180.0120.00018.10
8.1.170.0030.01018.70
8.1.160.0040.00719.23
8.1.150.0080.00518.89
8.1.140.0000.00917.70
8.1.130.0000.00719.20
8.1.120.0070.00017.71
8.1.110.0040.00917.67
8.1.100.0040.00317.55
8.1.90.0110.00617.60
8.1.80.0120.00517.59
8.1.70.0080.00617.56
8.1.60.0150.00417.70
8.1.50.0140.00417.74
8.1.40.0110.00617.79
8.1.30.0120.00417.89
8.1.20.0140.00417.80
8.1.10.0160.00117.75
8.1.00.0140.00317.71
8.0.300.0000.00920.11
8.0.290.0140.00317.00
8.0.280.0090.00020.59
8.0.270.0040.00418.29
8.0.260.0030.00318.69
8.0.250.0000.00717.30
8.0.240.0060.00617.19
8.0.230.0050.00517.29
8.0.220.0110.00417.12
8.0.210.0060.00817.06
8.0.200.0080.00617.22
8.0.190.0060.00817.14
8.0.180.0120.00217.11
8.0.170.0080.00617.15
8.0.160.0140.00117.13
8.0.150.0100.00517.10
8.0.140.0110.00317.06
8.0.130.0140.00116.97
8.0.120.0110.00417.08
8.0.110.0120.00117.13
8.0.100.0110.00317.06
8.0.90.0110.00517.14
8.0.80.0150.00117.04
8.0.70.0080.00417.02
8.0.60.0080.00517.04
8.0.50.0090.00517.03
8.0.30.0110.00317.10
8.0.20.0130.00217.13
8.0.10.0100.00617.14
7.4.330.0040.00415.55
7.4.320.0050.00516.65
7.4.300.0080.00316.74
7.4.290.0150.00316.64
7.4.280.0150.00316.64
7.4.270.0150.00316.66
7.4.260.0140.00416.72
7.4.250.0090.00916.73
7.4.240.0110.00616.63
7.4.230.0110.00616.70
7.4.220.0130.00216.76
7.4.210.0110.00416.61
7.4.200.0120.00316.74
7.4.190.0120.00016.77
7.4.180.0050.00516.91
7.4.160.0080.00116.79
7.4.150.0030.00616.60
7.4.140.0050.00416.59
7.4.130.0070.00116.72
7.4.120.0040.00416.58
7.4.110.0050.00316.62
7.4.100.0050.00416.65
7.4.90.0060.00316.54
7.4.80.0050.00416.65
7.4.70.0050.00416.69
7.4.60.0060.00516.64
7.4.50.0000.00916.59
7.4.40.0070.00216.62
7.4.30.0060.00416.54
7.4.20.0070.00516.53
7.4.10.0060.00416.63
7.4.00.0060.00416.62
4.3.00.0000.0029.35

preferences:
31.71 ms | 403 KiB | 5 Q