3v4l.org

run code in 300+ PHP versions simultaneously
<?php $char = "ჯ"; $uppercaseChar = mb_strtoupper($char); echo $uppercaseChar . "\n"; echo $uppercaseChar === $char ? 'same' : 'different';

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.0130.00318.30
8.3.50.0100.00716.39
8.3.40.0090.00618.45
8.3.30.0040.01118.60
8.3.20.0000.00721.77
8.3.10.0050.00518.66
8.3.00.0030.00519.25
8.2.180.0070.00718.16
8.2.170.0120.00322.96
8.2.160.0150.00020.07
8.2.150.0000.00724.18
8.2.140.0110.00724.66
8.2.130.0030.00520.22
8.2.120.0040.00426.35
8.2.110.0040.00422.08
8.2.100.0090.00317.72
8.2.90.0040.00420.52
8.2.80.0030.00517.97
8.2.70.0030.00617.93
8.2.60.0040.00417.97
8.2.50.0040.00418.10
8.2.40.0000.00821.15
8.2.30.0000.00719.27
8.2.20.0040.00418.04
8.2.10.0000.00819.37
8.2.00.0050.00218.15
8.1.270.0070.00020.38
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0100.00022.60
8.1.230.0070.00420.95
8.1.220.0060.00317.79
8.1.210.0000.00819.01
8.1.200.0040.00417.23
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00418.53
8.1.160.0000.00718.90
8.1.150.0040.00418.86
8.1.140.0030.00320.18
8.1.130.0070.00020.22
8.1.120.0000.00817.46
8.1.110.0030.00317.44
8.1.100.0000.00817.45
8.1.90.0050.00517.41
8.1.80.0050.00217.40
8.1.70.0000.00717.43
8.1.60.0070.00417.45
8.1.50.0000.00917.45
8.1.40.0000.00717.43
8.1.30.0000.00817.65
8.1.20.0050.00317.50
8.1.10.0030.00517.50
8.1.00.0070.00017.45
8.0.300.0040.00420.03
8.0.290.0060.00316.63
8.0.280.0000.00718.41
8.0.270.0000.00717.34
8.0.260.0040.00418.53
8.0.250.0030.00616.99
8.0.240.0070.00016.91
8.0.230.0030.00316.98
8.0.220.0000.00716.98
8.0.210.0050.00216.98
8.0.200.0070.00016.89
8.0.190.0000.00716.98
8.0.180.0040.00417.02
8.0.170.0060.00316.84
8.0.160.0000.00716.87
8.0.150.0000.00716.87
8.0.140.0000.00716.93
8.0.130.0000.00713.36
8.0.120.0000.00816.89
8.0.110.0040.00416.96
8.0.100.0040.00416.88
8.0.90.0040.00416.94
8.0.80.0040.01116.84
8.0.70.0040.00416.87
8.0.60.0020.00516.89
8.0.50.0080.00016.93
8.0.30.0100.00717.16
8.0.20.0110.00817.25
8.0.10.0000.00716.77
8.0.00.0050.01216.81
7.4.330.0000.00415.55
7.4.320.0030.00316.55
7.4.300.0000.00716.58
7.4.290.0000.00716.46
7.4.280.0040.00416.63
7.4.270.0030.00316.50
7.4.260.0030.00616.52
7.4.250.0000.00816.43
7.4.240.0040.00416.50
7.4.230.0040.00416.53
7.4.220.0040.00416.69
7.4.210.0050.01216.58
7.4.200.0040.00416.71
7.4.160.0120.00816.57
7.4.140.0090.01217.86
7.4.130.0090.01516.70
7.4.120.0080.00916.58
7.4.110.0060.01216.58
7.4.100.0130.00916.56
7.4.90.0120.00616.50
7.4.80.0120.00619.39
7.4.70.0120.00716.50
7.4.60.0090.00616.68
7.4.50.0070.01016.39
7.4.40.0170.00716.43
7.4.00.0070.00714.87
7.3.330.0050.00013.21
7.3.320.0060.00013.27
7.3.310.0040.00416.52
7.3.300.0040.00416.36
7.3.290.0000.00616.34
7.3.280.0080.01016.37
7.3.260.0120.00616.43
7.3.240.0120.00816.37
7.3.230.0090.01116.48
7.3.210.0090.00916.30
7.3.200.0080.01016.34
7.3.190.0110.01116.58
7.3.180.0030.01316.41
7.3.170.0100.01016.32
7.3.160.0170.00516.42
7.3.20.0110.01116.45
7.3.10.0130.01016.90
7.3.00.0070.00716.63
7.2.330.0070.01116.41
7.2.320.0110.00516.46
7.2.310.0100.00616.71
7.2.300.0070.01016.70
7.2.290.0120.00916.61
7.2.150.0100.00616.83
7.2.140.0090.01216.88
7.2.130.0060.00617.03
7.2.120.0060.00917.12
7.2.110.0080.00816.98
7.2.100.0040.00816.66
7.2.90.0140.00716.86
7.2.80.0060.00916.82
7.2.70.0070.00416.68
7.2.60.0040.00717.03
7.2.50.0130.01017.08
7.2.40.0070.00717.00
7.2.30.0040.01117.27
7.2.20.0050.00517.05
7.2.10.0110.00017.06
7.2.00.0060.00917.07
7.1.250.0090.00915.73

preferences:
58.01 ms | 400 KiB | 5 Q