3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_convert_encoding( $bin = hex2bin("82ad9951"), "UTF-8", "SJIS-2004" ), mb_check_encoding($bin, "SJIS-2004") );

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.0040.00418.15
8.4.10.0130.00323.72
8.3.140.0120.00316.85
8.3.130.0060.00318.29
8.3.120.0100.00619.03
8.3.110.0070.00220.94
8.3.100.0080.00024.06
8.3.90.0090.00026.77
8.3.80.0130.00016.63
8.3.70.0100.00716.75
8.3.60.0090.00618.68
8.3.50.0040.01120.25
8.3.40.0120.00620.26
8.3.30.0100.01018.67
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.260.0060.00317.19
8.2.250.0090.00916.58
8.2.240.0050.00517.29
8.2.230.0130.00322.58
8.2.220.0070.00437.54
8.2.210.0040.00426.77
8.2.200.0040.00716.50
8.2.190.0170.00016.58
8.2.180.0140.00725.92
8.2.170.0150.00019.00
8.2.160.0070.00722.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00319.54
8.2.110.0060.00321.12
8.2.100.0080.00320.52
8.2.90.0040.00419.52
8.2.80.0080.00017.97
8.2.70.0040.00418.05
8.2.60.0040.00417.63
8.2.50.0040.00418.10
8.2.40.0000.00719.30
8.2.30.0040.00418.20
8.2.20.0000.00819.41
8.2.10.0000.00818.08
8.2.00.0000.00719.25
8.1.310.0040.00418.51
8.1.300.0060.00318.46
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0140.00723.91
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0060.00322.24
8.1.230.0080.00421.02
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0000.00917.48
8.1.190.0060.00317.35
8.1.180.0070.00418.10
8.1.170.0040.00418.65
8.1.160.0000.00818.94
8.1.150.0070.00318.70
8.1.140.0000.00717.35
8.1.130.0050.00218.93
8.1.120.0120.00417.41
8.1.110.0120.00517.36
8.1.100.0100.00717.43
8.1.90.0090.00717.41
8.1.80.0090.00617.27
8.1.70.0080.00817.05
8.1.60.0070.01117.46
8.1.50.0130.00417.40
8.1.40.0060.01017.45
8.1.30.0150.00317.42
8.1.20.0050.01617.33
8.1.10.0130.00617.41
8.1.00.0180.00017.37
8.0.300.0050.00219.65
8.0.290.0040.00416.75
8.0.280.0000.00718.48
8.0.270.0030.00517.97
8.0.260.0070.00018.50
8.0.250.0080.00716.76
8.0.240.0090.00716.70
8.0.230.0100.00516.82
8.0.220.0100.00716.78
8.0.210.0060.01016.67
8.0.200.0100.00616.60
8.0.190.0110.00616.49
8.0.180.0130.00316.65
8.0.170.0100.00416.73
8.0.160.0110.00316.82
8.0.150.0090.00516.69
8.0.140.0100.00516.87
8.0.130.0090.00616.72
8.0.120.0090.00716.70
8.0.110.0080.00716.84
8.0.100.0140.00216.84
8.0.90.0080.00616.73
8.0.80.0120.00316.65
8.0.70.0100.00416.53
8.0.60.0120.00216.65
8.0.50.0090.00516.69
8.0.30.0060.00816.62
8.0.20.0090.00516.83
8.0.10.0050.00916.75
7.4.330.0080.00015.55
7.4.320.0140.00516.24
7.4.300.0120.00616.44
7.4.290.0130.00416.49
7.4.280.0080.00716.23
7.4.270.0100.00316.47
7.4.260.0080.00816.22
7.4.250.0130.00116.46
7.4.240.0090.00616.28
7.4.230.0140.00116.30
7.4.220.0110.00216.30
7.4.210.0110.00416.17
7.4.200.0110.00216.26
7.4.190.0130.00016.31
7.4.180.0090.00416.23
7.4.160.0080.00716.31
7.4.150.0110.00316.32
7.4.140.0120.00216.33
7.4.130.0050.00916.18
7.4.120.0090.00516.14
7.4.110.0090.00316.24
7.4.100.0110.00216.51
7.4.90.0110.00316.41
7.4.80.0090.00416.33
7.4.70.0080.00616.06
7.4.60.0100.00316.36
7.4.50.0090.00416.02
7.4.40.0050.00716.35
7.4.30.0080.00616.31
7.4.20.0030.01016.38
7.4.10.0070.00716.17
7.4.00.0050.00916.22

preferences:
29.18 ms | 403 KiB | 5 Q