3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_strwidth("👨‍👩‍👦", "UTF-8"));

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.0060.01322.46
8.4.10.0060.00323.74
8.3.150.0120.00616.95
8.3.140.0040.00418.41
8.3.130.0030.00716.46
8.3.120.0040.00420.79
8.3.110.0060.00318.28
8.3.100.0080.00018.47
8.3.90.0040.00426.77
8.3.80.0000.00816.50
8.3.70.0140.00416.75
8.3.60.0140.00418.43
8.3.50.0110.00319.91
8.3.40.0100.00320.05
8.3.30.0070.00718.72
8.3.20.0040.00724.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.270.0150.00317.22
8.2.260.0000.00716.35
8.2.250.0120.00618.25
8.2.240.0090.00917.07
8.2.230.0080.00020.94
8.2.220.0060.00324.06
8.2.210.0090.00026.77
8.2.200.0060.00318.14
8.2.190.0110.00716.58
8.2.180.0070.00725.92
8.2.170.0120.00622.96
8.2.160.0060.01222.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0060.00319.52
8.2.110.0040.00720.94
8.2.100.0040.00717.66
8.2.90.0090.00017.38
8.2.80.0040.00417.97
8.2.70.0000.00817.80
8.2.60.0080.00017.80
8.2.50.0070.00718.79
8.2.40.0060.00718.87
8.2.30.0080.00518.69
8.2.20.0060.00619.28
8.2.10.0060.00718.68
8.2.00.0040.00819.34
8.1.310.0140.00416.74
8.1.300.0060.00318.44
8.1.290.0040.00430.84
8.1.280.0100.00325.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0090.00019.14
8.1.230.0060.00620.86
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.10
8.1.190.0080.00017.00
8.1.180.0080.00418.81
8.1.170.0050.00719.04
8.1.160.0120.00019.14
8.1.150.0090.00419.00
8.1.140.0070.00518.45
8.1.130.0080.00319.17
8.1.120.0070.00518.47
8.1.110.0110.00518.42
8.1.100.0120.00418.43
8.1.90.0130.00218.44
8.1.80.0080.00518.39
8.1.70.0100.00318.45
8.1.60.0070.00718.51
8.1.50.0060.00618.43
8.1.40.0090.00818.43
8.1.30.0100.00718.53
8.1.20.0100.00818.52
8.1.10.0150.00218.42
8.1.00.0110.00618.44
8.0.300.0080.00018.77
8.0.290.0100.00016.63
8.0.280.0040.00818.95
8.0.270.0090.00418.99
8.0.260.0050.00718.95
8.0.250.0080.00418.20
8.0.240.0100.00618.16
8.0.230.0130.00318.17
8.0.220.0130.00218.12
8.0.210.0050.01118.16
8.0.200.0130.00318.16
8.0.190.0100.00618.15
8.0.180.0150.00218.17
8.0.170.0110.00518.18
8.0.160.0130.00318.16
8.0.150.0050.01018.15
8.0.140.0140.00218.14
8.0.130.0090.00618.05
8.0.120.0090.00618.11
8.0.110.0130.00218.15
8.0.100.0090.00618.09
8.0.90.0050.01018.17
8.0.80.0140.00118.10
8.0.70.0110.00618.08
8.0.60.0080.00818.13
8.0.50.0130.00418.09
8.0.30.0090.00618.15
8.0.20.0160.00018.20
8.0.10.0140.00218.11
7.4.330.0080.00117.53
7.4.320.0120.00418.03
7.4.300.0050.00917.99
7.4.290.0100.00317.95
7.4.280.0090.00517.98
7.4.270.0150.00118.04
7.4.260.0110.00618.01
7.4.250.0090.00517.97
7.4.240.0130.00217.91
7.4.230.0100.00217.83
7.4.220.0120.00217.91
7.4.210.0120.00217.93
7.4.200.0100.00318.02
7.4.190.0120.00418.03
7.4.180.0100.00517.93
7.4.160.0090.00617.93
7.4.150.0130.00217.97
7.4.140.0130.00217.98
7.4.130.0100.00517.93
7.4.120.0100.00517.90
7.4.110.0100.00417.83
7.4.100.0110.00417.97
7.4.90.0100.00517.93
7.4.80.0120.00217.96
7.4.70.0030.01017.91
7.4.60.0090.00317.91
7.4.50.0040.00817.88
7.4.40.0110.00017.95
7.4.30.0070.00417.87
7.4.20.0100.00217.88
7.4.10.0080.00417.91
7.4.00.0120.00017.94

preferences:
28.39 ms | 403 KiB | 5 Q