3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("1b284200"), "UTF-8", "ISO-2022-JP-KDDI" ), mb_check_encoding($bin, "ISO-2022-JP-KDDI"), bin2hex(mb_convert_encoding($conv, "ISO-2022-JP-KDDI", "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.0070.01016.63
8.3.50.0160.00620.32
8.3.40.0070.01320.15
8.3.30.0150.00618.75
8.3.20.0110.00724.18
8.3.10.0040.00424.66
8.3.00.0090.00926.16
8.2.180.0110.00725.92
8.2.170.0140.00022.96
8.2.160.0170.00322.96
8.2.150.0030.00525.66
8.2.140.0110.00724.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0090.00021.27
8.2.100.0040.00818.34
8.2.90.0080.00018.34
8.2.80.0000.00818.05
8.2.70.0040.00418.03
8.2.60.0080.00318.05
8.2.50.0050.00518.07
8.2.40.0040.00418.16
8.2.30.0040.00418.17
8.2.20.0000.00720.73
8.2.10.0000.00718.04
8.2.00.0000.00719.42
8.1.280.0070.00725.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00021.12
8.1.230.0030.00921.04
8.1.220.0030.00517.91
8.1.210.0030.00518.77
8.1.200.0000.00917.47
8.1.190.0030.00617.60
8.1.180.0080.00018.10
8.1.170.0000.00818.77
8.1.160.0070.00019.11
8.1.150.0040.00418.82
8.1.140.0000.00717.64
8.1.130.0030.00317.61
8.1.120.0140.00018.86
8.1.110.0130.00618.79
8.1.100.0110.00618.78
8.1.90.0140.00318.83
8.1.80.0170.00318.79
8.1.70.0130.00418.81
8.1.60.0150.00418.99
8.1.50.0130.00618.95
8.1.40.0130.00719.09
8.1.30.0170.00319.00
8.1.20.0150.00518.91
8.1.10.0090.00918.83
8.1.00.0170.00318.82
8.0.300.0000.00719.53
8.0.290.0000.00716.58
8.0.280.0080.00018.49
8.0.270.0000.00716.93
8.0.260.0000.00616.88
8.0.250.0030.00618.09
8.0.240.0150.00318.09
8.0.230.0090.00918.05
8.0.220.0090.00917.94
8.0.210.0040.01218.09
8.0.200.0120.00418.11
8.0.190.0120.00418.04
8.0.180.0130.00518.08
8.0.170.0090.00618.02
8.0.160.0120.00418.14
8.0.150.0120.00518.04
8.0.140.0050.01117.93
8.0.130.0080.00819.53
8.0.120.0170.00017.95
8.0.110.0170.00018.03
8.0.100.0140.00317.97
8.0.90.0160.00017.90
8.0.80.0120.00518.04
8.0.70.0130.00418.07
8.0.60.0080.00818.04
8.0.50.0090.00918.03
8.0.30.0090.00918.08
8.0.20.0080.00818.02
8.0.10.0000.01718.08
7.4.330.0120.00313.98
7.4.320.0050.01417.64
7.4.300.0060.01217.69
7.4.290.0110.00717.87
7.4.280.0090.00917.64
7.4.270.0150.00317.77
7.4.260.0190.00017.70
7.4.250.0060.01317.71
7.4.240.0090.00917.87
7.4.230.0170.00217.72
7.4.220.0120.00417.72
7.4.210.0100.00717.74
7.4.200.0210.00017.82
7.4.190.0110.00817.70
7.4.180.0200.00017.75
7.4.160.0130.00519.54
7.4.150.0080.00817.68
7.4.140.0070.00717.69
7.4.130.0140.00317.55
7.4.120.0090.00617.57
7.4.110.0120.00417.54
7.4.100.0100.00617.77
7.4.90.0080.00817.77
7.4.80.0160.00017.62
7.4.70.0090.00917.54
7.4.60.0130.00317.65
7.4.50.0120.00317.55
7.4.40.0100.00517.59
7.4.30.0120.00317.65
7.4.20.0150.00017.70
7.4.10.0080.00017.69
7.4.00.0070.00017.62

preferences:
47.72 ms | 400 KiB | 5 Q