3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_convert_encoding( $bin = hex2bin("5c") . "\\", "UTF-8", "SJIS" ), mb_check_encoding($bin, "SJIS"), bin2hex($bin) );

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.0070.00718.30
8.3.50.0090.00619.96
8.3.40.0150.00319.90
8.3.30.0140.00018.48
8.3.20.0000.00824.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.180.0150.00625.92
8.2.170.0080.00619.14
8.2.160.0080.00622.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0050.00221.04
8.2.110.0030.00621.09
8.2.100.0070.00417.91
8.2.90.0080.00017.88
8.2.80.0030.00517.97
8.2.70.0060.00317.93
8.2.60.0050.00317.63
8.2.50.0000.00818.07
8.2.40.0080.00018.28
8.2.30.0030.00618.20
8.2.20.0000.00720.67
8.2.10.0030.00517.98
8.2.00.0040.00419.18
8.1.280.0200.00025.92
8.1.270.0080.00823.68
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00024.04
8.1.230.0040.00821.04
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00817.47
8.1.190.0050.00517.35
8.1.180.0000.00918.10
8.1.170.0000.00818.79
8.1.160.0040.00418.96
8.1.150.0070.00018.76
8.1.140.0020.00517.45
8.1.130.0040.00617.56
8.1.120.0050.00817.53
8.1.110.0090.00617.54
8.1.100.0080.00617.51
8.1.90.0090.00617.57
8.1.80.0080.00617.51
8.1.70.0090.00617.51
8.1.60.0080.00417.65
8.1.50.0110.00117.63
8.1.40.0060.00817.65
8.1.30.0060.00717.68
8.1.20.0070.00617.63
8.1.10.0120.00117.47
8.1.00.0070.00617.49
8.0.300.0000.00720.15
8.0.290.0000.00816.88
8.0.280.0000.00718.56
8.0.270.0080.00018.18
8.0.260.0050.00417.17
8.0.250.0080.00417.25
8.0.240.0100.00317.19
8.0.230.0070.00517.22
8.0.220.0080.00317.24
8.0.210.0060.00717.22
8.0.200.0060.00717.23
8.0.190.0080.00517.23
8.0.180.0100.00417.18
8.0.170.0080.00417.22
8.0.160.0050.00817.18
8.0.150.0100.00217.22
8.0.140.0100.00317.21
8.0.130.0070.00517.22
8.0.120.0060.00617.19
8.0.110.0050.00617.23
8.0.100.0040.00817.21
8.0.90.0090.00417.22
8.0.80.0050.00817.20
8.0.70.0090.00417.18
8.0.60.0090.00417.17
8.0.50.0110.00217.19
8.0.30.0080.00417.19
8.0.20.0100.00317.17
8.0.10.0050.00717.17
7.4.330.0070.00516.73
7.4.320.0110.00417.07
7.4.300.0080.00717.01
7.4.290.0100.00617.12
7.4.280.0100.00417.10
7.4.270.0120.00117.09
7.4.260.0110.00417.05
7.4.250.0110.00417.13
7.4.240.0100.00517.09
7.4.230.0140.00217.04
7.4.220.0110.00417.10
7.4.210.0100.00417.06
7.4.200.0090.00617.08
7.4.190.0090.00717.09
7.4.180.0120.00317.07
7.4.160.0090.00517.10
7.4.150.0100.00517.09
7.4.140.0110.00317.01
7.4.130.0100.00317.06
7.4.120.0090.00617.06
7.4.110.0120.00117.00
7.4.100.0080.00617.08
7.4.90.0110.00317.04
7.4.80.0070.00717.07
7.4.70.0080.00617.08
7.4.60.0110.00217.04
7.4.50.0070.00617.04
7.4.40.0120.00316.98
7.4.30.0110.00217.01
7.4.20.0070.00717.05
7.4.10.0100.00317.04
7.4.00.0080.00517.06

preferences:
49.5 ms | 400 KiB | 5 Q