3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("febb90"), "UTF-8", "UHC" ), mb_check_encoding($bin, "UHC"), bin2hex(mb_convert_encoding($conv, "UHC", "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.0120.00420.01
8.4.10.0100.00723.70
8.3.150.0110.00417.21
8.3.140.0050.00316.97
8.3.130.0040.00418.34
8.3.120.0000.00918.85
8.3.110.0030.00620.94
8.3.100.0080.00024.06
8.3.90.0140.00026.77
8.3.80.0060.00316.75
8.3.70.0070.00716.63
8.3.60.0140.00718.43
8.3.50.0040.01220.39
8.3.40.0040.01120.23
8.3.30.0070.00718.51
8.3.20.0070.00024.18
8.3.10.0000.00724.66
8.3.00.0040.00426.16
8.2.260.0090.00618.92
8.2.250.0000.00716.70
8.2.240.0080.00022.13
8.2.230.0030.00622.58
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0090.00016.63
8.2.190.0130.01016.75
8.2.180.0140.00725.92
8.2.170.0160.00319.13
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0140.00321.19
8.2.110.0040.00722.38
8.2.100.0060.00617.91
8.2.90.0050.00317.91
8.2.80.0030.00617.97
8.2.70.0030.00617.93
8.2.60.0000.00818.05
8.2.50.0040.00418.07
8.2.40.0030.00618.28
8.2.30.0050.00318.23
8.2.20.0000.00720.79
8.2.10.0070.00018.28
8.2.00.0050.00219.29
8.1.310.0080.00016.85
8.1.300.0060.00319.73
8.1.290.0030.00618.88
8.1.280.0100.01025.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00921.16
8.1.230.0080.00321.14
8.1.220.0040.00417.74
8.1.210.0080.00018.99
8.1.200.0050.00517.60
8.1.190.0000.00817.60
8.1.180.0000.00918.10
8.1.170.0040.00419.18
8.1.160.0040.00418.98
8.1.150.0040.00418.75
8.1.140.0070.00017.72
8.1.130.0120.00417.66
8.1.120.0120.00417.69
8.1.110.0080.00817.59
8.1.100.0110.00617.74
8.1.90.0120.00517.67
8.1.80.0140.00217.68
8.1.70.0060.01017.63
8.1.60.0080.01217.62
8.1.50.0140.00217.62
8.1.40.0160.00317.71
8.1.30.0140.00417.79
8.1.20.0130.00317.76
8.1.10.0100.00717.69
8.1.00.0140.00517.55
8.0.300.0070.00020.03
8.0.290.0000.01016.75
8.0.280.0030.00318.55
8.0.270.0060.00316.89
8.0.260.0110.00416.96
8.0.250.0150.00016.88
8.0.240.0090.00516.92
8.0.230.0100.00616.93
8.0.220.0150.00216.86
8.0.210.0110.00316.86
8.0.200.0070.00716.92
8.0.190.0090.00616.85
8.0.180.0000.01416.82
8.0.170.0100.00516.82
8.0.160.0100.00516.83
8.0.150.0100.00316.77
8.0.140.0140.00016.88
8.0.130.0110.00416.81
8.0.120.0090.00516.96
8.0.110.0110.00216.82
8.0.100.0110.00316.91
8.0.90.0150.00016.98
8.0.80.0070.00716.87
8.0.70.0110.00416.89
8.0.60.0140.00016.91
8.0.50.0140.00016.84
8.0.30.0110.00416.82
8.0.20.0140.00016.97
8.0.10.0050.01016.94
7.4.330.0130.00015.88
7.4.320.0130.00216.68
7.4.300.0040.01216.45
7.4.290.0130.00416.45
7.4.280.0150.00016.64
7.4.270.0150.00016.45
7.4.260.0080.00816.58
7.4.250.0030.00716.59
7.4.240.0090.00016.58
7.4.230.0060.00316.57
7.4.220.0050.00516.48
7.4.210.0080.00616.60
7.4.200.0110.00416.45
7.4.190.0150.00016.69
7.4.180.0050.01016.64
7.4.160.0110.00416.63
7.4.150.0000.01416.63
7.4.140.0090.00516.57
7.4.130.0150.00016.43
7.4.120.0080.00816.38
7.4.110.0140.00016.32
7.4.100.0070.00716.45
7.4.90.0130.00316.56
7.4.80.0090.00616.46
7.4.70.0090.00516.44
7.4.60.0080.00516.43
7.4.50.0090.00516.48
7.4.40.0080.00816.32
7.4.30.0090.00516.30
7.4.20.0040.00816.32
7.4.10.0000.01316.44
7.4.00.0040.00716.31

preferences:
38.83 ms | 403 KiB | 5 Q