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.5.30.0110.00519.27
8.5.20.0100.00819.41
8.5.10.0120.00416.30
8.5.00.0140.00919.79
8.4.180.0110.01319.62
8.4.170.0110.00923.86
8.4.160.0080.01223.74
8.4.150.0030.00014.05
8.4.140.0140.00717.73
8.4.130.0080.01217.88
8.4.120.0080.00222.35
8.4.110.0140.00518.58
8.4.100.0130.00817.68
8.4.90.0110.01020.53
8.4.80.0040.00518.73
8.4.70.0050.00419.06
8.4.60.0050.00618.83
8.4.50.0100.01017.66
8.4.40.0090.00619.27
8.4.30.0190.00017.78
8.4.20.0000.01018.69
8.4.10.0130.00619.61
8.3.300.0150.00519.18
8.3.290.0130.01020.64
8.3.280.0110.00818.26
8.3.270.0120.00716.61
8.3.260.0130.00616.46
8.3.250.0060.00317.16
8.3.240.0110.00316.54
8.3.230.0120.00616.65
8.3.220.0100.00819.11
8.3.210.0100.00518.36
8.3.200.0040.00416.44
8.3.190.0100.00918.30
8.3.180.0150.00516.59
8.3.170.0040.01416.41
8.3.160.0110.00716.35
8.3.150.0040.00417.02
8.3.140.0040.01116.68
8.3.130.0140.00416.33
8.3.120.0030.00518.80
8.3.110.0090.00020.94
8.3.100.0040.00424.06
8.3.90.0090.00626.77
8.3.80.0090.00016.63
8.3.70.0070.00718.43
8.3.60.0130.00318.30
8.3.50.0110.00717.18
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.300.0110.00918.15
8.2.290.0080.00816.75
8.2.280.0140.00818.42
8.2.270.0160.00316.63
8.2.260.0060.00917.15
8.2.250.0150.00418.38
8.2.240.0040.00418.91
8.2.230.0030.00622.58
8.2.220.0050.00537.54
8.2.210.0110.00326.77
8.2.200.0060.00316.38
8.2.190.0170.00316.58
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.340.0080.00821.54
8.1.330.0080.01116.20
8.1.320.0080.01017.70
8.1.310.0090.00916.52
8.1.300.0040.00415.90
8.1.290.0000.01018.88
8.1.280.0040.01525.92
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:
37.34 ms | 403 KiB | 5 Q