3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_convert_encoding(mb_convert_encoding("~", "JIS", "UTF-16"), "UTF-8", "JIS"));

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.3.60.0110.00416.38
8.3.50.0130.00720.19
8.3.40.0150.00618.64
8.3.30.0070.00718.95
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0080.00026.16
8.2.180.0130.00625.92
8.2.170.0160.01019.13
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0060.00326.16
8.2.120.0080.00019.89
8.2.110.0030.00621.25
8.2.100.0070.00419.53
8.2.90.0000.00917.77
8.2.80.0040.00420.61
8.2.70.0040.00417.75
8.2.60.0070.00417.93
8.2.50.0080.00318.07
8.2.40.0040.00419.94
8.2.30.0060.00318.26
8.2.20.0040.00420.54
8.2.10.0070.00018.21
8.2.00.0050.00319.22
8.1.280.0070.01025.92
8.1.270.0000.00823.99
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.36
8.1.230.0080.00320.92
8.1.220.0060.00617.74
8.1.210.0040.00419.01
8.1.200.0050.00517.23
8.1.190.0000.00817.36
8.1.180.0000.00818.10
8.1.170.0030.00618.86
8.1.160.0040.00719.00
8.1.150.0000.00918.79
8.1.140.0030.00517.47
8.1.130.0070.00019.04
8.1.120.0040.00417.51
8.1.110.0040.00417.56
8.1.100.0040.00517.57
8.1.90.0040.00617.49
8.1.80.0080.00317.52
8.1.70.0050.00517.51
8.1.60.0080.00517.65
8.1.50.0140.00517.55
8.1.40.0130.00817.57
8.1.30.0160.00617.68
8.1.20.0160.00517.73
8.1.10.0130.00517.54
8.1.00.0140.00517.44
8.0.300.0040.00420.04
8.0.290.0040.00416.63
8.0.280.0040.00418.44
8.0.270.0000.00717.98
8.0.260.0060.00018.34
8.0.250.0030.00316.95
8.0.240.0000.00616.81
8.0.230.0060.00216.87
8.0.220.0020.00916.88
8.0.210.0090.00216.82
8.0.200.0090.00216.90
8.0.190.0120.00516.85
8.0.180.0140.00416.82
8.0.170.0150.00316.83
8.0.160.0150.00316.78
8.0.150.0110.00716.78
8.0.140.0130.00516.74
8.0.130.0150.00416.77
8.0.120.0140.00416.81
8.0.110.0140.00516.74
8.0.100.0150.00416.76
8.0.90.0130.00616.75
8.0.80.0160.00316.84
8.0.70.0160.00316.80
8.0.60.0080.00916.78
8.0.50.0150.00416.82
8.0.30.0140.00416.82
8.0.20.0150.00316.90
8.0.10.0140.00516.94
7.4.330.0060.00015.55
7.4.320.0030.00316.39
7.4.300.0070.00016.55
7.4.290.0070.00716.48
7.4.280.0140.00616.53
7.4.270.0110.00716.53
7.4.260.0110.00916.48
7.4.250.0170.00116.41
7.4.240.0150.00216.50
7.4.230.0110.00516.42
7.4.220.0160.00116.46
7.4.210.0110.00516.50
7.4.200.0100.00516.43
7.4.190.0070.00816.58
7.4.180.0100.00516.48
7.4.160.0080.00716.35
7.4.150.0110.00516.41
7.4.140.0120.00416.40
7.4.130.0090.00716.43
7.4.120.0140.00316.40
7.4.110.0130.00516.36
7.4.100.0150.00216.58
7.4.90.0130.00316.37
7.4.80.0120.00516.38
7.4.70.0130.00516.42
7.4.60.0100.00616.38
7.4.50.0140.00216.21
7.4.40.0160.00116.22
7.4.30.0100.00716.26
7.4.20.0140.00216.42
7.4.10.0110.00616.35
7.4.00.0100.00516.38

preferences:
72.84 ms | 400 KiB | 5 Q