3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_convert_encoding( $bin = hex2bin("d0d1ecb5dac2adfb4cd4ede7f4"), "UTF-8", "CP51932" ), mb_check_encoding($bin, "CP51932") );

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.0060.00319.68
8.4.10.0060.00323.48
8.3.150.0090.00616.66
8.3.140.0140.00316.47
8.3.130.0070.00718.41
8.3.120.0120.00619.17
8.3.110.0140.00320.94
8.3.100.0050.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00318.31
8.3.70.0110.01116.58
8.3.60.0090.01218.30
8.3.50.0090.00620.23
8.3.40.0110.00320.11
8.3.30.0030.01318.75
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0000.01517.30
8.2.250.0040.00416.54
8.2.240.0040.00419.23
8.2.230.0070.01022.58
8.2.220.0070.00337.54
8.2.210.0080.00026.77
8.2.200.0060.00316.50
8.2.190.0160.00318.54
8.2.180.0000.01425.92
8.2.170.0090.00618.96
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0020.00526.16
8.2.120.0100.00021.24
8.2.110.0060.00321.24
8.2.100.0080.00418.03
8.2.90.0080.00017.63
8.2.80.0090.00018.97
8.2.70.0000.00817.75
8.2.60.0060.00317.88
8.2.50.0040.00417.75
8.2.40.0060.00319.47
8.2.30.0000.00818.09
8.2.20.0030.00320.69
8.2.10.0040.00418.05
8.2.00.0040.00419.23
8.1.310.0030.01218.51
8.1.300.0090.00919.75
8.1.290.0090.00030.84
8.1.280.0060.01225.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0000.01222.20
8.1.230.0040.00822.75
8.1.220.0060.00318.43
8.1.210.0030.00618.77
8.1.200.0080.00017.35
8.1.190.0070.00717.38
8.1.180.0060.00318.10
8.1.170.0000.00717.62
8.1.160.0070.00018.93
8.1.150.0030.00618.87
8.1.140.0000.00717.55
8.1.130.0000.00817.57
8.1.120.0080.00017.53
8.1.110.0060.00917.16
8.1.100.0060.00617.31
8.1.90.0060.00317.36
8.1.80.0070.00717.15
8.1.70.0020.01117.07
8.1.60.0060.00617.02
8.1.50.0130.00017.04
8.1.40.0080.00417.02
8.1.30.0000.01617.46
8.1.20.0140.00017.11
8.1.10.0120.00217.24
8.1.00.0070.01016.99
8.0.300.0040.00419.83
8.0.290.0000.00716.75
8.0.280.0070.00018.38
8.0.270.0030.00517.97
8.0.260.0000.00616.86
8.0.250.0000.01316.57
8.0.240.0070.00316.90
8.0.230.0110.00316.14
8.0.220.0100.00316.40
8.0.210.0090.00316.34
8.0.200.0150.00016.38
8.0.190.0060.00316.74
8.0.180.0060.00916.56
8.0.170.0110.00316.73
8.0.160.0040.00916.73
8.0.150.0100.00516.57
8.0.140.0060.00616.61
8.0.130.0120.00016.64
8.0.120.0080.00416.54
8.0.110.0050.00916.44
8.0.100.0100.00316.60
8.0.90.0120.00416.86
8.0.80.0150.00016.53
8.0.70.0060.00616.88
8.0.60.0090.00616.59
8.0.50.0080.00816.75
8.0.30.0150.00016.78
8.0.20.0100.00716.64
8.0.10.0070.00716.83
7.4.330.0020.00215.55
7.4.320.0090.00516.57
7.4.300.0080.00816.43
7.4.290.0130.00716.20
7.4.280.0110.00716.50
7.4.270.0070.00616.65
7.4.260.0030.01016.27
7.4.250.0160.00016.54
7.4.240.0110.00616.31
7.4.230.0150.00016.61
7.4.220.0100.00516.47
7.4.210.0080.00516.51
7.4.200.0080.00416.62
7.4.190.0000.01316.40
7.4.180.0070.00716.57
7.4.160.0100.00516.19
7.4.150.0150.00016.40
7.4.140.0110.00315.96
7.4.130.0060.00616.16
7.4.120.0090.00416.41
7.4.110.0090.00516.54
7.4.100.0080.00416.58
7.4.90.0150.00016.49
7.4.80.0000.01216.29
7.4.70.0030.01015.85
7.4.60.0120.00016.11
7.4.50.0090.00816.06
7.4.40.0080.00815.93
7.4.30.0080.00416.25
7.4.20.0060.00916.35
7.4.10.0060.00616.26
7.4.00.0150.00016.38

preferences:
33.01 ms | 403 KiB | 5 Q