3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("1b284200"), "UTF-8", "ISO-2022-JP-MS" ), mb_check_encoding($bin, "ISO-2022-JP-MS"), bin2hex(mb_convert_encoding($conv, "ISO-2022-JP-MS", "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.3.70.0070.00716.63
8.3.60.0060.01016.50
8.3.50.0100.00319.99
8.3.40.0100.00720.15
8.3.30.0090.00618.33
8.3.20.0060.00324.18
8.3.10.0000.00724.66
8.3.00.0040.00426.16
8.2.180.0100.01025.92
8.2.170.0070.01119.21
8.2.160.0080.01222.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0080.00018.81
8.2.110.0060.00321.30
8.2.100.0060.00617.96
8.2.90.0080.00017.63
8.2.80.0070.00417.97
8.2.70.0040.00418.15
8.2.60.0070.00318.29
8.2.50.0080.00018.07
8.2.40.0080.00017.95
8.2.30.0000.00718.19
8.2.20.0070.00020.77
8.2.10.0040.00418.09
8.2.00.0000.00719.36
8.1.280.0100.00725.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00422.04
8.1.230.0060.00622.68
8.1.220.0060.00317.79
8.1.210.0080.00018.77
8.1.200.0000.00917.47
8.1.190.0030.00617.35
8.1.180.0000.00819.56
8.1.170.0040.00418.75
8.1.160.0000.00719.12
8.1.150.0000.00718.84
8.1.140.0070.00017.68
8.1.130.0000.00717.55
8.1.120.0070.01018.81
8.1.110.0110.00618.73
8.1.100.0100.00518.85
8.1.90.0080.00818.86
8.1.80.0080.00818.79
8.1.70.0120.00418.74
8.1.60.0140.00518.93
8.1.50.0110.00718.93
8.1.40.0120.00618.95
8.1.30.0180.00019.04
8.1.20.0120.00618.91
8.1.10.0140.00418.89
8.1.00.0120.00618.78
8.0.300.0040.00420.16
8.0.290.0040.00416.75
8.0.280.0030.00318.41
8.0.270.0040.00418.02
8.0.260.0040.00416.91
8.0.250.0120.00618.11
8.0.240.0120.00318.14
8.0.230.0090.00618.02
8.0.220.0080.00817.91
8.0.210.0090.00617.89
8.0.200.0100.00517.95
8.0.190.0110.00518.02
8.0.180.0150.00017.97
8.0.170.0110.00418.11
8.0.160.0090.00618.16
8.0.150.0130.00318.15
8.0.140.0050.01017.98
8.0.130.0090.00519.46
8.0.120.0110.00418.07
8.0.110.0120.00218.04
8.0.100.0120.00318.00
8.0.90.0150.00018.03
8.0.80.0120.00317.91
8.0.70.0130.00318.02
8.0.60.0060.00917.95
8.0.50.0100.00518.03
8.0.30.0050.01018.04
8.0.20.0120.00218.21
8.0.10.0120.00418.08
7.4.330.0070.00713.98
7.4.320.0060.01117.77
7.4.300.0120.00517.77
7.4.290.0110.00517.64
7.4.280.0080.00417.64
7.4.270.0000.01117.69
7.4.260.0110.00017.79
7.4.250.0100.00317.68
7.4.240.0110.00017.73
7.4.230.0040.00817.62
7.4.220.0120.00017.60
7.4.210.0120.00017.60
7.4.200.0030.00917.39
7.4.190.0080.00317.60
7.4.180.0080.00417.23
7.4.160.0060.00617.54
7.4.150.0080.00317.18
7.4.140.0060.00617.81
7.4.130.0110.00017.57
7.4.120.0070.00417.50
7.4.110.0000.01117.60
7.4.100.0050.00517.50
7.4.90.0050.00517.55
7.4.80.0050.00517.53
7.4.70.0110.00017.52
7.4.60.0120.00017.52
7.4.50.0060.00617.11
7.4.40.0100.00017.50
7.4.30.0090.00317.28
7.4.20.0080.00417.55
7.4.10.0060.00617.22
7.4.00.0040.00717.36

preferences:
51.76 ms | 401 KiB | 5 Q