3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("00"), "UTF-8", "ISO-2022-KR" ), mb_check_encoding($bin, "ISO-2022-KR"), bin2hex(mb_convert_encoding($conv, "ISO-2022-KR", "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.4.20.0100.01019.86
8.4.10.0120.00323.63
8.3.150.0070.01319.16
8.3.140.0070.01016.81
8.3.130.0110.00718.41
8.3.120.0110.00818.92
8.3.110.0080.00320.94
8.3.100.0100.00016.58
8.3.90.0040.00426.77
8.3.80.0060.00316.75
8.3.70.0100.00618.55
8.3.60.0070.01416.75
8.3.50.0150.00018.35
8.3.40.0100.00320.25
8.3.30.0150.00018.71
8.3.20.0030.00524.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0040.00417.33
8.2.250.0060.00316.73
8.2.240.0030.00618.80
8.2.230.0040.00422.58
8.2.220.0060.00324.06
8.2.210.0060.00926.77
8.2.200.0100.00018.41
8.2.190.0180.00416.97
8.2.180.0120.00325.92
8.2.170.0000.01619.09
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00019.77
8.2.110.0060.00319.50
8.2.100.0000.01117.84
8.2.90.0040.00418.16
8.2.80.0040.00417.97
8.2.70.0030.00518.16
8.2.60.0060.00318.16
8.2.50.0060.00318.07
8.2.40.0030.00619.82
8.2.30.0030.00618.21
8.2.20.0070.00020.71
8.2.10.0040.00418.04
8.2.00.0000.00719.32
8.1.310.0140.00416.94
8.1.300.0090.00017.86
8.1.290.0080.00030.84
8.1.280.0140.00325.92
8.1.270.0030.01524.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.01020.71
8.1.230.0110.00021.23
8.1.220.0040.00417.79
8.1.210.0080.00019.16
8.1.200.0090.00017.60
8.1.190.0050.00317.60
8.1.180.0000.00818.10
8.1.170.0090.00018.65
8.1.160.0040.00419.11
8.1.150.0040.00418.73
8.1.140.0070.00017.58
8.1.130.0150.00017.44
8.1.120.0100.00717.58
8.1.110.0120.00417.56
8.1.100.0060.01017.59
8.1.90.0170.00017.53
8.1.80.0110.00717.62
8.1.70.0110.00517.61
8.1.60.0130.00817.72
8.1.50.0090.00917.61
8.1.40.0100.00717.74
8.1.30.0140.00517.64
8.1.20.0060.00917.63
8.1.10.0190.00017.57
8.1.00.0060.01617.62
8.0.300.0030.00320.02
8.0.290.0000.00816.88
8.0.280.0040.00418.51
8.0.270.0070.00017.42
8.0.260.0120.00216.81
8.0.250.0080.00816.79
8.0.240.0000.01416.91
8.0.230.0120.00416.81
8.0.220.0150.00016.78
8.0.210.0090.00616.64
8.0.200.0100.00516.84
8.0.190.0110.00316.86
8.0.180.0090.00616.86
8.0.170.0120.00416.81
8.0.160.0120.00316.79
8.0.150.0130.00316.84
8.0.140.0090.00616.86
8.0.130.0150.00016.86
8.0.120.0090.00616.76
8.0.110.0000.01316.89
8.0.100.0120.00216.90
8.0.90.0100.00516.84
8.0.80.0130.00316.85
8.0.70.0130.00416.91
8.0.60.0130.00016.84
8.0.50.0140.00016.84
8.0.30.0120.00316.73
8.0.20.0090.00616.92
8.0.10.0120.00316.91
7.4.330.0140.00015.88
7.4.320.0140.00316.50
7.4.300.0110.00716.47
7.4.290.0040.01316.57
7.4.280.0140.00416.52
7.4.270.0150.00416.39
7.4.260.0160.00016.39
7.4.250.0080.00816.43
7.4.240.0060.00616.39
7.4.230.0060.00616.42
7.4.220.0040.00816.54
7.4.210.0070.00416.46
7.4.200.0050.00516.51
7.4.190.0090.00016.58
7.4.180.0020.00716.50
7.4.160.0080.00316.63
7.4.150.0140.00016.63
7.4.140.0120.00616.50
7.4.130.0070.01016.33
7.4.120.0080.00516.30
7.4.110.0040.01116.39
7.4.100.0050.01016.49
7.4.90.0170.00016.46
7.4.80.0060.00916.26
7.4.70.0040.00916.45
7.4.60.0100.00516.27
7.4.50.0110.00416.20
7.4.40.0130.00016.33
7.4.30.0110.00316.40
7.4.20.0000.01416.45
7.4.10.0080.00816.26
7.4.00.0100.00516.45

preferences:
55.02 ms | 403 KiB | 5 Q