3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("9748e3b582e2e1ee9cbff9fcf0b08dc3db4e"), "UTF-8", "CP950" ), mb_check_encoding($bin, "CP950"), bin2hex(mb_convert_encoding($conv, "CP950", "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.0100.00619.96
8.4.10.0160.00023.67
8.3.150.0070.01017.35
8.3.140.0040.00420.86
8.3.130.0030.00618.73
8.3.120.0070.00220.66
8.3.110.0030.00618.54
8.3.100.0060.00324.06
8.3.90.0070.00026.77
8.3.80.0030.00916.75
8.3.70.0100.00716.58
8.3.60.0120.00916.75
8.3.50.0160.00620.18
8.3.40.0070.00720.29
8.3.30.0070.01018.84
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0030.00626.16
8.2.270.0050.01416.62
8.2.260.0140.00416.79
8.2.250.0100.00717.00
8.2.240.0080.00819.26
8.2.230.0070.00320.94
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0060.00318.54
8.2.190.0100.00716.75
8.2.180.0070.00725.92
8.2.170.0060.00918.91
8.2.160.0120.00322.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0030.00621.31
8.2.100.0120.00017.85
8.2.90.0080.00018.22
8.2.80.0000.00817.97
8.2.70.0050.00318.16
8.2.60.0030.00618.05
8.2.50.0090.00018.07
8.2.40.0040.00418.16
8.2.30.0040.00418.13
8.2.20.0000.00820.77
8.2.10.0040.00418.11
8.2.00.0030.00619.34
8.1.310.0070.01018.30
8.1.300.0060.00318.55
8.1.290.0040.00830.84
8.1.280.0110.00725.92
8.1.270.0000.00724.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00622.18
8.1.230.0000.01021.10
8.1.220.0090.00017.76
8.1.210.0040.00418.91
8.1.200.0030.00617.50
8.1.190.0060.00317.48
8.1.180.0060.00318.10
8.1.170.0000.00818.87
8.1.160.0040.00418.97
8.1.150.0070.00018.71
8.1.140.0030.00617.44
8.1.130.0050.01017.42
8.1.120.0130.00317.50
8.1.110.0000.01617.66
8.1.100.0130.00417.67
8.1.90.0170.00017.68
8.1.80.0050.01117.54
8.1.70.0160.00017.67
8.1.60.0170.00017.75
8.1.50.0130.00417.73
8.1.40.0160.00517.79
8.1.30.0130.00717.81
8.1.20.0140.00317.71
8.1.10.0140.00617.64
8.1.00.0140.00717.58
8.0.300.0030.00320.26
8.0.290.0040.00416.88
8.0.280.0040.00418.56
8.0.270.0030.00317.28
8.0.260.0140.00416.87
8.0.250.0040.01216.82
8.0.240.0090.00616.91
8.0.230.0090.00616.86
8.0.220.0110.00416.79
8.0.210.0140.00016.80
8.0.200.0140.00316.86
8.0.190.0100.00516.81
8.0.180.0150.00016.87
8.0.170.0080.00816.86
8.0.160.0160.00216.72
8.0.150.0090.00916.84
8.0.140.0110.00316.86
8.0.130.0090.00516.91
8.0.120.0000.01516.89
8.0.110.0070.00716.86
8.0.100.0160.00016.85
8.0.90.0120.00416.85
8.0.80.0100.00516.71
8.0.70.0140.00016.91
8.0.60.0130.00316.82
8.0.50.0070.00716.93
8.0.30.0100.00516.74
8.0.20.0040.01316.91
8.0.10.0110.00316.88
7.4.330.0090.00515.88
7.4.320.0150.00416.42
7.4.300.0170.00016.36
7.4.290.0110.00516.45
7.4.280.0100.00716.51
7.4.270.0150.00016.35
7.4.260.0160.00016.47
7.4.250.0100.00716.57
7.4.240.0070.00716.44
7.4.230.0080.00416.46
7.4.220.0140.00016.46
7.4.210.0070.00416.46
7.4.200.0050.00516.50
7.4.190.0050.00516.50
7.4.180.0030.00616.47
7.4.160.0070.00416.40
7.4.150.0090.00616.50
7.4.140.0110.00416.52
7.4.130.0130.00216.40
7.4.120.0140.00416.32
7.4.110.0090.00616.31
7.4.100.0140.00316.54
7.4.90.0170.00016.40
7.4.80.0150.00016.30
7.4.70.0090.00616.39
7.4.60.0050.01116.39
7.4.50.0150.00016.27
7.4.40.0100.00416.21
7.4.30.0100.00416.41
7.4.20.0120.00216.38
7.4.10.0050.01016.26
7.4.00.0090.00616.45

preferences:
28.14 ms | 403 KiB | 5 Q