3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_check_encoding(hex2bin("1b244224220f"), "JIS"));

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.00917.32
8.4.130.0070.01117.89
8.4.120.0090.00420.60
8.4.110.0100.01018.70
8.4.100.0050.00317.56
8.4.90.0110.00918.41
8.4.80.0110.00819.24
8.4.70.0120.00717.50
8.4.60.0150.00618.43
8.4.50.0110.00517.54
8.4.40.0090.00920.25
8.4.30.0090.00020.56
8.4.20.0070.01119.70
8.4.10.0090.00023.90
8.3.260.0090.01016.31
8.3.250.0120.00518.98
8.3.240.0030.00416.44
8.3.230.0040.00516.32
8.3.220.0040.00317.31
8.3.210.0080.00616.61
8.3.200.0050.00416.66
8.3.190.0110.00816.78
8.3.180.0110.00716.32
8.3.170.0060.01218.97
8.3.160.0120.00618.41
8.3.150.0110.00720.70
8.3.140.0150.00317.02
8.3.130.0110.00016.34
8.3.120.0070.01420.85
8.3.110.0100.00018.10
8.3.100.0030.00616.63
8.3.90.0120.00326.77
8.3.80.0030.00618.43
8.3.70.0060.00918.30
8.3.60.0100.01016.50
8.3.50.0070.01116.42
8.3.40.0100.01021.76
8.3.30.0040.01118.41
8.3.20.0070.00024.18
8.3.10.0050.00224.66
8.3.00.0040.00426.16
8.2.290.0150.00320.30
8.2.280.0090.00318.32
8.2.270.0070.01017.05
8.2.260.0170.00020.59
8.2.250.0000.00817.05
8.2.240.0120.00617.01
8.2.230.0050.00320.94
8.2.220.0050.00324.06
8.2.210.0070.00326.77
8.2.200.0100.00716.75
8.2.190.0170.00316.63
8.2.180.0110.00416.63
8.2.170.0070.00719.00
8.2.160.0100.00322.96
8.2.150.0060.00325.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0080.00321.12
8.2.100.0090.00317.78
8.2.90.0050.00317.75
8.2.80.0040.00418.97
8.2.70.0050.00317.73
8.2.60.0080.00017.75
8.2.50.0060.00318.05
8.2.40.0040.00419.48
8.2.30.0110.00617.62
8.2.20.0050.00519.34
8.2.10.0120.00417.62
8.2.00.0120.00617.62
8.1.330.0090.00920.28
8.1.320.0080.00916.26
8.1.310.0120.00916.57
8.1.300.0040.00417.87
8.1.290.0060.00330.84
8.1.280.0100.00325.92
8.1.270.0070.00024.66
8.1.260.0050.00226.35
8.1.250.0000.00728.09
8.1.240.0050.00322.22
8.1.230.0030.00720.80
8.1.220.0050.00318.56
8.1.210.0080.00019.01
8.1.200.0100.00017.48
8.1.190.0030.00717.35
8.1.180.0060.00318.10
8.1.170.0050.00217.64
8.1.160.0070.00219.13
8.1.150.0140.00417.62
8.1.140.0120.00517.62
8.1.130.0120.00417.62
8.1.120.0130.00417.62
8.1.110.0180.00017.62
8.1.100.0140.00217.62
8.1.90.0050.01017.62
8.1.80.0140.00217.62
8.1.70.0110.00517.62
8.1.60.0110.00617.62
8.1.50.0150.00217.62
8.1.40.0160.00317.62
8.1.30.0150.00417.71
8.1.20.0150.00517.63
8.1.10.0140.00317.62
8.1.00.0110.00717.62
8.0.300.0070.00019.90
8.0.290.0060.00316.63
8.0.280.0130.00317.62
8.0.270.0160.00017.62
8.0.260.0040.01217.62
8.0.250.0060.01217.62
8.0.240.0160.00017.62
8.0.230.0130.00317.62
8.0.220.0170.00017.62
8.0.210.0130.00417.62
8.0.200.0170.00017.62
8.0.190.0130.00317.62
8.0.180.0080.00817.62
8.0.170.0190.00017.62
8.0.160.0040.01317.62
8.0.150.0110.00717.62
8.0.140.0140.00317.62
8.0.130.0170.00017.62
8.0.120.0160.00017.62
8.0.110.0180.00017.62
8.0.100.0130.00317.62
8.0.90.0140.00317.62
8.0.80.0130.00317.62
8.0.70.0130.00417.62
8.0.60.0110.00617.62
8.0.50.0120.00417.62
8.0.30.0110.00617.62
8.0.20.0130.00317.62
8.0.10.0110.00517.62

preferences:
34.74 ms | 403 KiB | 5 Q