3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( bin2hex(mb_convert_encoding( "test ääöö", "ISO-8859-15", "UTF-8" )), mb_convert_encoding( mb_substr( mb_convert_encoding( "test ääöö", "ISO-8859-15", "UTF-8" ), 0, null, "UTF-8" ), "UTF-8", "ISO-8859-15" ) );

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.5.10.0110.01116.52
8.5.00.0130.00819.96
8.4.150.0020.00114.05
8.4.140.0160.00617.49
8.4.130.0100.01018.79
8.4.120.0150.00524.01
8.4.110.0070.00118.62
8.4.100.0060.00318.83
8.4.90.0130.00620.46
8.4.80.0130.00318.55
8.4.70.0050.00318.75
8.4.60.0060.00218.64
8.4.50.0070.00920.38
8.4.40.0070.01317.38
8.4.30.0030.01720.54
8.4.20.0090.00619.63
8.4.10.0090.00019.35
8.3.280.0100.00918.45
8.3.270.0150.00416.37
8.3.260.0090.01116.43
8.3.250.0130.00618.98
8.3.240.0100.00816.95
8.3.230.0100.00816.23
8.3.220.0120.00618.92
8.3.210.0090.00718.12
8.3.200.0060.00516.48
8.3.190.0110.00817.16
8.3.180.0090.01118.72
8.3.170.0080.00018.82
8.3.160.0180.00018.42
8.3.150.0100.01016.94
8.3.140.0080.00016.49
8.3.130.0070.00316.42
8.3.120.0120.00620.43
8.3.110.0040.00420.94
8.3.100.0000.00924.06
8.3.90.0070.00026.77
8.3.80.0420.00630.84
8.3.70.0450.00430.84
8.3.60.0330.01330.84
8.3.50.0090.00930.84
8.3.40.0340.01130.84
8.3.30.0380.00030.84
8.3.20.0290.01030.84
8.3.10.0270.01230.84
8.3.00.0210.01730.84
8.2.290.0050.00719.89
8.2.280.0100.01018.32
8.2.270.0120.00617.02
8.2.260.0140.00418.61
8.2.250.0040.00416.81
8.2.240.0030.00617.51
8.2.230.0000.01022.58
8.2.220.0090.00037.54
8.2.210.0070.00726.77
8.2.200.0330.00530.84
8.2.190.0320.00630.84
8.2.180.0370.00430.84
8.2.170.0310.01730.84
8.2.160.0340.01030.84
8.2.150.0350.01030.84
8.2.140.0310.00730.84
8.2.130.0420.00530.84
8.2.120.0380.00630.84
8.2.110.0290.00630.84
8.2.100.0200.00330.84
8.2.90.0210.00030.84
8.2.80.0190.00030.84
8.2.70.0140.00530.84
8.2.60.0150.00430.84
8.2.50.0190.00030.84
8.2.40.0250.00330.84
8.2.30.0290.00630.84
8.2.20.0160.00830.84
8.2.10.0260.01530.84
8.2.00.0390.00030.84
8.1.330.0120.00621.89
8.1.320.0060.00316.32
8.1.310.0070.00318.69
8.1.300.0080.00016.35
8.1.290.0250.02130.84
8.1.280.0280.01230.84
8.1.270.0330.00930.84
8.1.260.0360.00730.84
8.1.250.0330.01130.84
8.1.240.0310.00630.84
8.1.230.0300.00830.84
8.1.220.0360.00830.84
8.1.210.0340.00030.84
8.1.200.0290.00630.84
8.1.190.0260.00730.84
8.1.180.0250.01430.84
8.1.170.0240.01430.84
8.1.160.0360.01130.84
8.1.150.0330.01630.84
8.1.140.0240.01030.84
8.1.130.0240.00630.84
8.1.120.0230.00830.84
8.1.110.0240.00630.84
8.1.100.0340.00630.84
8.1.90.0280.01030.84
8.1.80.0350.00330.84
8.1.70.0300.00730.84
8.1.60.0370.00430.84
8.1.50.0360.00730.84
8.1.40.0500.00030.84
8.1.30.0230.01130.84
8.1.20.0280.00630.84
8.1.10.0180.00730.84
8.1.00.0160.00330.84

preferences:
33.87 ms | 403 KiB | 5 Q