3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("1b284200"), "UTF-8", "CP50220" ), mb_check_encoding($bin, "CP50220"), bin2hex(mb_convert_encoding($conv, "CP50220", "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.0170.00019.77
8.4.10.0130.00723.88
8.3.140.0110.00016.53
8.3.130.0040.01118.16
8.3.120.0100.00519.11
8.3.110.0090.00020.94
8.3.100.0130.01016.29
8.3.90.0040.01126.77
8.3.80.0030.00618.30
8.3.70.0100.01016.63
8.3.60.0080.00616.75
8.3.50.0040.01120.02
8.3.40.0140.00320.04
8.3.30.0060.01018.38
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0060.01217.04
8.2.250.0060.00316.91
8.2.240.0000.01619.23
8.2.230.0120.00622.58
8.2.220.0090.00624.06
8.2.210.0080.00026.77
8.2.200.0000.00918.29
8.2.190.0140.00716.58
8.2.180.0060.00925.92
8.2.170.0120.00918.91
8.2.160.0100.00322.96
8.2.150.0000.00825.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.25
8.2.110.0030.00722.30
8.2.100.0090.00617.77
8.2.90.0040.00417.88
8.2.80.0000.00918.15
8.2.70.0060.00318.16
8.2.60.0040.00418.05
8.2.50.0050.00518.07
8.2.40.0030.00518.09
8.2.30.0000.00717.98
8.2.20.0000.00720.73
8.2.10.0000.00718.03
8.2.00.0000.00919.20
8.1.310.0100.00718.41
8.1.300.0160.00318.18
8.1.290.0090.00030.84
8.1.280.0140.00325.92
8.1.270.0080.00024.66
8.1.260.0090.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.96
8.1.230.0040.00820.45
8.1.220.0050.00317.79
8.1.210.0000.00818.77
8.1.200.0060.00317.25
8.1.190.0080.00017.47
8.1.180.0040.00418.10
8.1.170.0040.00418.65
8.1.160.0000.00719.02
8.1.150.0000.00718.73
8.1.140.0040.00417.60
8.1.130.0070.00017.43
8.1.120.0120.00318.81
8.1.110.0150.00018.68
8.1.100.0080.00818.77
8.1.90.0150.00018.86
8.1.80.0100.00518.76
8.1.70.0060.00918.70
8.1.60.0090.00918.86
8.1.50.0070.01018.82
8.1.40.0080.00418.80
8.1.30.0060.00318.99
8.1.20.0150.00319.00
8.1.10.0100.00718.73
8.1.00.0170.00018.82
8.0.300.0000.00819.67
8.0.290.0080.00016.75
8.0.280.0000.00718.45
8.0.270.0050.00316.79
8.0.260.0030.00316.77
8.0.250.0080.00318.11
8.0.240.0050.00918.03
8.0.230.0140.00018.17
8.0.220.0050.01018.11
8.0.210.0120.00018.04
8.0.200.0110.00418.07
8.0.190.0130.00318.17
8.0.180.0090.00417.97
8.0.170.0060.00618.09
8.0.160.0100.00318.02
8.0.150.0110.00017.98
8.0.140.0080.00617.96
8.0.130.0090.00419.61
8.0.120.0060.00617.96
8.0.110.0100.00218.09
8.0.100.0000.01217.92
8.0.90.0060.00618.02
8.0.80.0110.00317.95
8.0.70.0040.00918.09
8.0.60.0070.00418.02
8.0.50.0110.00017.95
8.0.30.0060.00618.00
8.0.20.0100.00218.11
8.0.10.0140.00218.01
7.4.330.0090.00513.98
7.4.320.0110.00517.64
7.4.300.0160.00017.77
7.4.290.0150.00017.64
7.4.280.0130.00317.69
7.4.270.0100.00517.82
7.4.260.0120.00017.68
7.4.250.0070.01017.77
7.4.240.0150.00017.76
7.4.230.0040.01117.77
7.4.220.0090.00517.76
7.4.210.0130.00017.71
7.4.200.0150.00017.74
7.4.190.0140.00017.71
7.4.180.0090.00517.83
7.4.160.0090.00417.82
7.4.150.0100.00417.70
7.4.140.0000.01317.63
7.4.130.0100.00317.65
7.4.120.0140.00017.68
7.4.110.0120.00317.56
7.4.100.0070.00717.82
7.4.90.0140.00017.58
7.4.80.0100.00317.51
7.4.70.0070.00717.59
7.4.60.0080.00019.43
7.4.50.0040.00419.43
7.4.40.0040.00419.40
7.4.30.0080.00019.53
7.4.20.0030.00319.43
7.4.10.0070.00019.38
7.4.00.0040.00417.70

preferences:
67.97 ms | 403 KiB | 5 Q