3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("0001f1e8"), "UTF-8-Mobile#KDDI-A", "UCS-4BE" ), mb_check_encoding($bin, "UTF-8-Mobile#KDDI-A"), bin2hex(mb_convert_encoding($conv, "UTF-8-Mobile#KDDI-A", "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.3.60.0110.00418.43
8.3.50.0130.00320.04
8.3.40.0180.00420.30
8.3.30.0140.00318.59
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.180.0090.00925.92
8.2.170.0030.01022.96
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00221.18
8.2.110.0060.00322.38
8.2.100.0090.00317.97
8.2.90.0000.00817.75
8.2.80.0040.00417.97
8.2.70.0090.00017.93
8.2.60.0030.00518.03
8.2.50.0030.00618.07
8.2.40.0050.00318.14
8.2.30.0030.00517.98
8.2.20.0040.00420.73
8.2.10.0000.00717.98
8.2.00.0040.00419.27
8.1.280.0090.00925.92
8.1.270.0070.00724.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.95
8.1.230.0130.00022.82
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0040.00417.48
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0040.00418.93
8.1.150.0070.00018.73
8.1.140.0070.00017.50
8.1.130.0090.00417.48
8.1.120.0150.00017.56
8.1.110.0110.00617.41
8.1.100.0160.00017.43
8.1.90.0130.00317.54
8.1.80.0120.00217.41
8.1.70.0120.00317.45
8.1.60.0180.00017.50
8.1.50.0150.00317.60
8.1.40.0120.00917.63
8.1.30.0150.00417.57
8.1.20.0140.00317.51
8.1.10.0190.00017.51
8.1.00.0150.00417.50
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00818.55
8.0.270.0040.00418.11
8.0.260.0090.00916.72
8.0.250.0080.00816.75
8.0.240.0100.00516.84
8.0.230.0110.00516.86
8.0.220.0150.00016.71
8.0.210.0070.00716.90
8.0.200.0090.00516.86
8.0.190.0000.01416.80
8.0.180.0090.00616.86
8.0.170.0120.00416.82
8.0.160.0060.01116.85
8.0.150.0150.00016.77
8.0.140.0160.00016.80
8.0.130.0050.01016.81
8.0.120.0070.00916.79
8.0.110.0140.00016.79
8.0.100.0120.00416.79
8.0.90.0000.01616.71
8.0.80.0150.00016.80
8.0.70.0120.00216.70
8.0.60.0110.00316.84
8.0.50.0100.00516.77
8.0.30.0050.00916.70
8.0.20.0070.00716.73
8.0.10.0160.00016.91
7.4.330.0130.00315.88
7.4.320.0100.00516.38
7.4.300.0140.00516.33
7.4.290.0100.00716.46
7.4.280.0180.00016.50
7.4.270.0120.00616.33
7.4.260.0000.01716.41
7.4.250.0150.00016.51
7.4.240.0100.00716.42
7.4.230.0080.00816.44
7.4.220.0150.00016.39
7.4.210.0100.00516.45
7.4.200.0120.00216.45
7.4.190.0090.00016.51
7.4.180.0110.00016.39
7.4.160.0110.00616.58
7.4.150.0120.00316.50
7.4.140.0000.00816.51
7.4.130.0120.00416.40
7.4.120.0170.00016.44
7.4.110.0050.00516.44
7.4.100.0160.00016.58
7.4.90.0090.00616.43
7.4.80.0040.00416.26
7.4.70.0080.00316.43
7.4.60.0150.00016.27
7.4.50.0070.00716.24
7.4.40.0100.00516.26
7.4.30.0040.00916.20
7.4.20.0070.00316.44
7.4.10.0050.00516.32
7.4.00.0050.00516.36

preferences:
43.04 ms | 401 KiB | 5 Q