3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_convert_encoding( $bin = hex2bin("9dc8f1d78bc795afe3e0f844e0c0eef08d4df349"), "UTF-8", "SJIS-Mobile#DOCOMO" ), mb_check_encoding($bin, "SJIS-Mobile#DOCOMO") );

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.0090.00019.95
8.4.10.0090.00023.62
8.3.140.0070.00716.63
8.3.130.0060.00316.72
8.3.120.0030.00520.78
8.3.110.0030.00616.75
8.3.100.0100.00016.61
8.3.90.0080.00026.77
8.3.80.0070.00418.30
8.3.70.0130.00316.63
8.3.60.0070.01018.43
8.3.50.0090.00918.22
8.3.40.0110.00720.19
8.3.30.0060.01018.71
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0000.00726.16
8.2.260.0070.00418.76
8.2.250.0080.00016.84
8.2.240.0060.01317.09
8.2.230.0110.00020.94
8.2.220.0050.00524.06
8.2.210.0030.00626.77
8.2.200.0030.00618.41
8.2.190.0040.01116.63
8.2.180.0170.00325.92
8.2.170.0100.01019.04
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0000.00719.89
8.2.110.0000.00920.48
8.2.100.0090.00618.03
8.2.90.0040.00417.75
8.2.80.0040.00417.97
8.2.70.0000.00817.93
8.2.60.0030.00518.05
8.2.50.0030.00518.07
8.2.40.0030.00622.17
8.2.30.0000.00718.18
8.2.20.0000.00720.69
8.2.10.0070.00018.05
8.2.00.0070.00019.41
8.1.310.0030.00516.88
8.1.300.0000.00818.63
8.1.290.0060.00330.84
8.1.280.0110.00725.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00024.01
8.1.230.0040.00817.89
8.1.220.0030.00517.79
8.1.210.0030.00718.77
8.1.200.0030.00617.35
8.1.190.0000.01017.35
8.1.180.0070.00018.10
8.1.170.0080.00018.71
8.1.160.0040.00420.88
8.1.150.0070.00018.75
8.1.140.0000.00717.48
8.1.130.0000.00719.05
8.1.120.0110.00317.45
8.1.110.0110.00417.55
8.1.100.0070.00717.45
8.1.90.0120.00317.54
8.1.80.0080.00217.44
8.1.70.0100.00317.54
8.1.60.0140.00417.67
8.1.50.0110.00517.59
8.1.40.0100.00717.61
8.1.30.0130.00517.69
8.1.20.0160.00317.58
8.1.10.0140.00417.59
8.1.00.0130.00417.58
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0080.00018.49
8.0.270.0030.00317.37
8.0.260.0030.00318.38
8.0.250.0110.00417.01
8.0.240.0100.00516.88
8.0.230.0070.00716.82
8.0.220.0140.00016.86
8.0.210.0150.00016.86
8.0.200.0120.00416.97
8.0.190.0110.00516.87
8.0.180.0110.00516.93
8.0.170.0000.01416.90
8.0.160.0150.00016.98
8.0.150.0150.00016.91
8.0.140.0150.00016.88
8.0.130.0100.00516.78
8.0.120.0100.00516.86
8.0.110.0110.00316.88
8.0.100.0090.00616.75
8.0.90.0050.00916.95
8.0.80.0120.00316.95
8.0.70.0160.00016.73
8.0.60.0110.00416.82
8.0.50.0120.00416.92
8.0.30.0170.00016.94
8.0.20.0080.00816.84
8.0.10.0120.00416.96
7.4.330.0000.00515.55
7.4.320.0130.00516.71
7.4.300.0170.00016.59
7.4.290.0150.00416.66
7.4.280.0100.00716.59
7.4.270.0070.00616.68
7.4.260.0170.00016.49
7.4.250.0160.00316.56
7.4.240.0260.00016.61
7.4.230.0170.00316.60
7.4.220.0160.00016.51
7.4.210.0100.00716.52
7.4.200.0130.00316.51
7.4.190.0140.00316.76
7.4.180.0060.00616.67
7.4.160.0080.00416.68
7.4.150.0090.00616.59
7.4.140.0040.01316.46
7.4.130.0050.00516.43
7.4.120.0040.00416.40
7.4.110.0090.00416.36
7.4.100.0030.00816.62
7.4.90.0130.00016.54
7.4.80.0070.00716.52
7.4.70.0090.00216.60
7.4.60.0090.00516.52
7.4.50.0130.00016.38
7.4.40.0100.00416.32
7.4.30.0160.00016.43
7.4.20.0150.00316.59
7.4.10.0080.00816.51
7.4.00.0130.00316.46

preferences:
66.44 ms | 403 KiB | 5 Q