3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'İyi akşamlar'; $upper = mb_strtoupper($string); $lowerChars = mb_strtolower(mb_substr($string, 0, 3)); var_dump($string, $upper, $lowerChars); var_dump(grapheme_stripos($upper, $lowerChars));

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.0110.00720.43
8.3.50.0120.00920.10
8.3.40.0040.01420.31
8.3.30.0090.00920.05
8.3.20.0030.00722.07
8.3.10.0050.00523.40
8.3.00.0060.00325.33
8.2.180.0120.01220.41
8.2.170.0070.01022.96
8.2.160.0160.00021.88
8.2.150.0070.00324.18
8.2.140.0050.00524.66
8.2.130.0060.00326.16
8.2.120.0060.00326.16
8.2.110.0060.01223.18
8.2.100.0050.01119.72
8.2.90.0000.00919.72
8.2.80.0000.01121.03
8.2.70.0030.00719.38
8.2.60.0050.00919.00
8.2.50.0080.00319.13
8.2.40.0050.00521.23
8.2.30.0030.00620.73
8.2.20.0030.01019.91
8.2.10.0080.00620.92
8.2.00.0080.00420.73
8.1.280.0070.01325.92
8.1.270.0030.00723.94
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0050.00824.04
8.1.230.0130.00322.88
8.1.220.0070.00419.79
8.1.210.0060.00620.73
8.1.200.0070.00719.00
8.1.190.0030.00919.10
8.1.180.0040.00819.00
8.1.170.0060.00321.06
8.1.160.0030.01020.56
8.1.150.0000.01320.61
8.1.140.0030.00720.53
8.1.130.0080.00421.89
8.1.120.0080.00519.36
8.1.110.0070.00719.31
8.1.100.0000.01319.37
8.1.90.0080.00619.36
8.1.80.0070.00519.33
8.1.70.0150.00019.30
8.1.60.0110.00819.46
8.1.50.0000.01019.36
8.1.40.0090.00919.28
8.1.30.0110.00519.61
8.1.20.0150.00619.57
8.1.10.0030.00619.48
8.1.00.0150.00619.34
8.0.300.0000.00921.64
8.0.290.0070.00418.63
8.0.280.0040.00819.98
8.0.270.0030.00818.64
8.0.260.0060.00620.06
8.0.250.0050.00918.78
8.0.240.0100.00318.66
8.0.230.0070.00318.76
8.0.220.0000.01118.67
8.0.210.0070.00318.86
8.0.200.0030.00718.79
8.0.190.0090.00418.70
8.0.180.0000.01218.73
8.0.170.0120.00518.75
8.0.160.0080.00818.76
8.0.150.0080.00418.58
8.0.140.0100.00518.71
8.0.130.0030.00313.36
8.0.120.0080.00318.88
8.0.110.0050.00518.97
8.0.100.0000.00918.77
8.0.90.0030.00618.79
8.0.80.0030.01918.71
8.0.70.0050.00518.92
8.0.60.0050.00518.69
8.0.50.0000.00918.90
8.0.30.0140.01619.05
8.0.20.0160.00619.15
8.0.10.0090.00018.80
8.0.00.0150.01218.56
7.4.330.0030.00315.55
7.4.320.0030.00818.54
7.4.300.0080.00418.49
7.4.290.0070.00818.41
7.4.280.0070.01118.40
7.4.270.0040.01518.32
7.4.260.0090.00618.45
7.4.250.0110.00018.49
7.4.240.0020.00818.53
7.4.230.0040.00418.47
7.4.220.0050.00518.48
7.4.210.0100.01218.33
7.4.200.0000.01018.49
7.4.160.0170.01118.30
7.4.130.0170.00818.41
7.4.120.0180.00918.46
7.4.110.0110.01518.37
7.4.100.0150.01218.38
7.4.90.0140.00818.27
7.4.80.0120.00919.39
7.4.70.0130.01318.52
7.4.60.0060.01418.32
7.4.50.0060.01318.14
7.4.40.0160.01018.43
7.4.00.0030.01616.93
7.3.330.0000.00613.13
7.3.320.0030.00313.25
7.3.310.0040.00418.31
7.3.300.0050.00518.07
7.3.290.0050.00518.25
7.3.280.0130.01318.16
7.3.260.0150.01018.20
7.3.240.0170.01218.29
7.3.230.0140.01118.03
7.3.210.0080.01718.13
7.3.200.0080.01118.19
7.3.190.0160.00818.27
7.3.180.0230.00318.30
7.3.170.0220.00718.10
7.3.160.0100.01018.23
7.3.60.0060.01516.74
7.3.50.0080.00416.64
7.3.40.0040.00816.67
7.3.30.0120.01216.71
7.3.20.0100.00718.37
7.3.10.0090.00618.30
7.3.00.0120.00318.41
7.2.330.0180.00918.30
7.2.320.0110.01118.70
7.2.310.0060.01918.47
7.2.300.0090.01818.24
7.2.290.0230.01318.63
7.2.190.0130.00716.55
7.2.180.0090.00316.55
7.2.170.0060.00916.78
7.2.160.0060.00617.05
7.2.150.0030.01318.64
7.2.140.0100.00718.43
7.2.130.0120.00318.41
7.2.120.0100.00718.77
7.2.110.0150.00618.88
7.2.100.0090.00918.41
7.2.90.0080.00518.75
7.2.80.0100.00318.53
7.2.70.0060.00718.54
7.2.60.0100.00318.46
7.2.50.0100.00318.32
7.2.40.0040.01118.61
7.2.30.0000.01718.74
7.2.20.0030.01318.68
7.2.10.0030.01018.71
7.2.00.0000.01218.48
7.1.300.0160.00817.57
7.1.290.0000.01217.43
7.1.280.0000.01217.70
7.1.270.0080.00817.59
7.1.260.0090.00617.71
7.1.250.0110.01417.70

preferences:
61.8 ms | 401 KiB | 5 Q