3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_substitute_character("long"); var_dump( $conv = mb_convert_encoding( $bin = hex2bin("a3f8f3abc0ce8ffaa1bce3adfcf1b2"), "UTF-8", "eucJP-win" ), mb_check_encoding($bin, "eucJP-win"), bin2hex(mb_convert_encoding($conv, "eucJP-win", "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.0090.01219.74
8.4.10.0060.01323.98
8.3.140.0040.00416.73
8.3.130.0000.00818.70
8.3.120.0090.00018.89
8.3.110.0080.00020.94
8.3.100.0050.00516.73
8.3.90.0090.00326.77
8.3.80.0000.00816.63
8.3.70.0150.00016.71
8.3.60.0070.01018.43
8.3.50.0090.00918.23
8.3.40.0100.00720.17
8.3.30.0180.00318.96
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.260.0080.00016.94
8.2.250.0070.00016.46
8.2.240.0100.00016.94
8.2.230.0090.00022.58
8.2.220.0060.00924.06
8.2.210.0060.01226.77
8.2.200.0030.00618.42
8.2.190.0140.00416.63
8.2.180.0070.00725.92
8.2.170.0150.00418.99
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0040.00421.15
8.2.110.0030.00720.63
8.2.100.0040.00719.51
8.2.90.0050.00319.57
8.2.80.0040.00418.22
8.2.70.0030.00618.05
8.2.60.0000.00718.09
8.2.50.0000.00818.10
8.2.40.0060.00321.02
8.2.30.0040.00418.23
8.2.20.0070.00020.55
8.2.10.0040.00417.99
8.2.00.0000.00719.38
8.1.310.0090.00616.61
8.1.300.0040.00416.44
8.1.290.0040.00430.84
8.1.280.0140.00325.92
8.1.270.0060.00324.66
8.1.260.0070.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00722.54
8.1.230.0030.00920.96
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.25
8.1.190.0060.00617.35
8.1.180.0040.00418.10
8.1.170.0060.00318.69
8.1.160.0070.00019.14
8.1.150.0040.00418.75
8.1.140.0030.00617.68
8.1.130.0090.00517.51
8.1.120.0090.00617.57
8.1.110.0130.00317.48
8.1.100.0100.00517.59
8.1.90.0050.01117.58
8.1.80.0000.01517.50
8.1.70.0140.00317.54
8.1.60.0040.01317.72
8.1.50.0080.01117.49
8.1.40.0080.00817.70
8.1.30.0140.00717.62
8.1.20.0160.00317.77
8.1.10.0200.00017.59
8.1.00.0120.00617.53
8.0.300.0030.00519.57
8.0.290.0070.00016.75
8.0.280.0000.00818.42
8.0.270.0030.00717.98
8.0.260.0070.00716.69
8.0.250.0130.00316.88
8.0.240.0100.01016.88
8.0.230.0070.00716.88
8.0.220.0130.00316.87
8.0.210.0080.00816.82
8.0.200.0110.00416.79
8.0.190.0110.00316.93
8.0.180.0100.00416.76
8.0.170.0140.00016.87
8.0.160.0120.00316.86
8.0.150.0110.00416.66
8.0.140.0080.00816.81
8.0.130.0000.01616.79
8.0.120.0120.00316.80
8.0.110.0110.00416.79
8.0.100.0100.00316.90
8.0.90.0060.00816.80
8.0.80.0130.00316.78
8.0.70.0130.00316.80
8.0.60.0090.00616.80
8.0.50.0130.00216.80
8.0.30.0110.00416.72
8.0.20.0080.00816.87
8.0.10.0070.00716.80
7.4.330.0070.00715.88
7.4.320.0120.00416.63
7.4.300.0120.00516.46
7.4.290.0120.00416.53
7.4.280.0120.00516.63
7.4.270.0110.00316.54
7.4.260.0100.00316.41
7.4.250.0090.00716.45
7.4.240.0080.00316.60
7.4.230.0150.00016.41
7.4.220.0110.00416.48
7.4.210.0110.00416.51
7.4.200.0110.00216.64
7.4.190.0040.00416.60
7.4.180.0060.00616.65
7.4.160.0170.00016.62
7.4.150.0150.00016.53
7.4.140.0000.00816.46
7.4.130.0080.00816.44
7.4.120.0120.00316.34
7.4.110.0070.00416.39
7.4.100.0120.00216.52
7.4.90.0180.00016.39
7.4.80.0060.00616.34
7.4.70.0050.00516.32
7.4.60.0110.00316.46
7.4.50.0120.00316.27
7.4.40.0090.00616.38
7.4.30.0100.00316.21
7.4.20.0050.00516.46
7.4.10.0110.00016.34
7.4.00.0050.00516.38

preferences:
52.68 ms | 403 KiB | 5 Q