3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_check_encoding(hex2bin('1b244224221b2848'), 'JIS')); // ESC $ B あ ESC ( H var_dump(mb_check_encoding(hex2bin('1b244224221b2848'), 'ISO-2022-JP')); // ESC $ B あ ESC ( H

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.140.0120.01017.30
8.4.130.0100.00917.88
8.4.120.0160.00520.49
8.4.110.0110.00622.44
8.4.100.0160.00517.45
8.4.90.0140.00718.63
8.4.80.0130.00719.24
8.4.70.0050.00419.28
8.4.60.0120.00918.36
8.4.50.0100.00619.23
8.4.40.0060.01319.22
8.4.30.0030.00718.86
8.4.20.0190.00025.96
8.4.10.0160.00323.74
8.3.260.0130.00616.68
8.3.250.0090.01018.66
8.3.240.0100.00816.39
8.3.230.0100.00916.72
8.3.220.0060.00217.18
8.3.210.0090.00618.45
8.3.200.0050.00416.38
8.3.190.0080.01218.14
8.3.180.0080.01116.28
8.3.170.0150.00418.82
8.3.160.0120.00618.27
8.3.150.0120.00620.54
8.3.140.0040.00416.81
8.3.130.0040.00418.47
8.3.120.0080.00818.74
8.3.110.0000.00920.94
8.3.100.0080.00016.47
8.3.90.0030.00526.77
8.3.80.0100.00018.30
8.3.70.0110.01116.63
8.3.60.0130.00616.50
8.3.50.0070.01016.32
8.3.40.0150.00020.27
8.3.30.0120.00318.74
8.3.20.0000.00724.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.290.0110.00620.38
8.2.280.0120.00818.42
8.2.270.0110.00816.97
8.2.260.0120.00319.01
8.2.250.0040.00416.91
8.2.240.0000.00917.12
8.2.230.0030.01322.58
8.2.220.0060.00624.06
8.2.210.0070.00326.77
8.2.200.0070.00416.88
8.2.190.0140.00416.63
8.2.180.0100.01325.92
8.2.170.0030.01019.21
8.2.160.0000.01422.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0060.00620.64
8.2.100.0040.00717.78
8.2.90.0000.00817.75
8.2.80.0040.00418.92
8.2.70.0040.00417.75
8.2.60.0050.00317.63
8.2.50.0000.00917.75
8.2.40.0120.00717.62
8.2.30.0110.00617.63
8.2.20.0150.00317.62
8.2.10.0130.00417.62
8.2.00.0090.00917.62
8.1.330.0100.00821.84
8.1.320.0140.00516.06
8.1.310.0050.00316.86
8.1.300.0000.00918.04
8.1.290.0090.00330.84
8.1.280.0100.01025.92
8.1.270.0040.01124.66
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0060.00323.80
8.1.230.0060.00621.08
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.11
8.1.190.0080.00017.13
8.1.180.0040.00418.10
8.1.170.0140.00217.62
8.1.160.0130.00317.62
8.1.150.0100.00717.62
8.1.140.0090.00617.62
8.1.130.0130.00217.62
8.1.120.0140.00317.62
8.1.110.0130.00317.62
8.1.100.0090.00617.62
8.1.90.0080.00817.62
8.1.80.0100.00517.62
8.1.70.0100.01017.62
8.1.60.0110.00717.63
8.1.50.0180.00017.62
8.1.40.0180.00017.62
8.1.30.0120.00617.62
8.1.20.0160.00217.63
8.1.10.0120.00417.62
8.1.00.0130.00717.62
8.0.300.0080.00019.04
8.0.290.0050.00216.71
8.0.280.0170.00017.62
8.0.270.0110.00617.62
8.0.260.0090.00917.62
8.0.250.0110.00717.62
8.0.240.0130.00317.62
8.0.230.0110.00517.62
8.0.220.0110.00717.62
8.0.210.0120.00417.62
8.0.200.0150.00317.62
8.0.190.0160.00317.62
8.0.180.0110.00817.62
8.0.170.0110.00517.62
8.0.160.0170.00017.62
8.0.150.0170.00017.62
8.0.140.0130.00317.62
8.0.130.0090.00817.62
8.0.120.0110.00517.62
8.0.110.0160.00017.62
8.0.100.0130.00317.62
8.0.90.0120.00417.62
8.0.80.0110.00717.62
8.0.70.0110.00517.62
8.0.60.0080.00817.62
8.0.50.0170.00017.62
8.0.30.0180.00017.62
8.0.20.0100.00717.62
8.0.10.0150.00017.62

preferences:
86.04 ms | 403 KiB | 5 Q