3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("8ffbce8fefc5a5c88fafaca6fedcf7"), "UTF-8", "EUC-JP-2004" ), mb_check_encoding($bin, "EUC-JP-2004"), bin2hex(mb_convert_encoding($conv, "EUC-JP-2004", "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.0130.00720.11
8.4.10.0150.00323.65
8.3.140.0040.00716.80
8.3.130.0070.00416.81
8.3.120.0080.00320.96
8.3.110.0030.00620.94
8.3.100.0080.00418.38
8.3.90.0080.00326.77
8.3.80.0060.00616.63
8.3.70.0090.00916.88
8.3.60.0120.00916.88
8.3.50.0100.00718.57
8.3.40.0040.01120.05
8.3.30.0090.00618.67
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0090.00026.16
8.2.260.0110.00716.37
8.2.250.0110.00018.58
8.2.240.0110.00717.08
8.2.230.0040.00422.58
8.2.220.0060.00324.06
8.2.210.0110.00426.77
8.2.200.0060.00318.54
8.2.190.0100.00716.63
8.2.180.0090.00625.92
8.2.170.0060.00919.01
8.2.160.0120.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0040.00420.73
8.2.110.0040.00720.91
8.2.100.0060.00617.66
8.2.90.0000.00819.21
8.2.80.0030.00618.16
8.2.70.0080.00017.72
8.2.60.0000.00818.05
8.2.50.0040.00418.07
8.2.40.0040.00418.34
8.2.30.0090.00018.22
8.2.20.0000.00720.61
8.2.10.0060.00318.23
8.2.00.0000.00719.27
8.1.310.0000.00816.42
8.1.300.0040.00416.38
8.1.290.0030.00730.84
8.1.280.0030.01725.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0000.01020.88
8.1.230.0090.00321.03
8.1.220.0080.00017.79
8.1.210.0000.00819.03
8.1.200.0000.01017.50
8.1.190.0060.00317.64
8.1.180.0040.00418.10
8.1.170.0000.00918.91
8.1.160.0000.00818.90
8.1.150.0030.00518.56
8.1.140.0070.00017.42
8.1.130.0120.00517.31
8.1.120.0050.01317.38
8.1.110.0130.00317.52
8.1.100.0120.00617.51
8.1.90.0160.00017.42
8.1.80.0090.00617.50
8.1.70.0110.00417.45
8.1.60.0130.00617.67
8.1.50.0120.00917.61
8.1.40.0110.00717.62
8.1.30.0200.00017.65
8.1.20.0130.00317.63
8.1.10.0150.00517.46
8.1.00.0120.00817.45
8.0.300.0110.00019.96
8.0.290.0040.00416.75
8.0.280.0050.00218.50
8.0.270.0030.00517.36
8.0.260.0150.00016.79
8.0.250.0130.00516.74
8.0.240.0100.00516.87
8.0.230.0160.00016.86
8.0.220.0100.00516.73
8.0.210.0080.00816.83
8.0.200.0120.00416.86
8.0.190.0090.00516.86
8.0.180.0120.00316.86
8.0.170.0130.00416.85
8.0.160.0100.00516.87
8.0.150.0120.00216.76
8.0.140.0150.00016.86
8.0.130.0050.01016.85
8.0.120.0140.00016.80
8.0.110.0140.00016.75
8.0.100.0150.00016.65
8.0.90.0150.00016.78
8.0.80.0080.00816.78
8.0.70.0160.00016.74
8.0.60.0090.00616.81
8.0.50.0110.00416.70
8.0.30.0070.00716.85
8.0.20.0070.00916.84
8.0.10.0100.00516.85
7.4.330.0130.00015.88
7.4.320.0120.00416.34
7.4.300.0130.00316.44
7.4.290.0150.00016.51
7.4.280.0150.00016.36
7.4.270.0170.00016.34
7.4.260.0090.00916.51
7.4.250.0080.00216.33
7.4.240.0140.00016.56
7.4.230.0060.00316.33
7.4.220.0070.00216.33
7.4.210.0000.00916.45
7.4.200.0040.00516.37
7.4.190.0170.00016.40
7.4.180.0160.00016.42
7.4.160.0110.00416.56
7.4.150.0090.00516.55
7.4.140.0150.00016.39
7.4.130.0080.00616.35
7.4.120.0150.00016.38
7.4.110.0100.00516.20
7.4.100.0100.00616.43
7.4.90.0090.00616.32
7.4.80.0140.00016.23
7.4.70.0100.00516.21
7.4.60.0140.00016.32
7.4.50.0140.00016.37
7.4.40.0050.00916.32
7.4.30.0110.00416.38
7.4.20.0040.00916.37
7.4.10.0110.00416.45
7.4.00.0040.01116.43

preferences:
49.48 ms | 403 KiB | 5 Q