3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = chr(0xc0); $converted = mb_convert_encoding($str, 'UTF-8'); var_dump($converted);

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.130.0150.00617.84
8.4.120.0130.00620.77
8.4.110.0140.00622.45
8.4.100.0120.00817.50
8.4.90.0130.00818.39
8.4.80.0110.00818.51
8.4.70.0080.00819.28
8.4.60.0080.01222.28
8.4.50.0080.00820.16
8.4.40.0130.00617.55
8.4.30.0040.00418.63
8.4.20.0100.00017.96
8.4.10.0030.00619.24
8.3.250.0110.00718.62
8.3.240.0100.00716.58
8.3.230.0080.00616.61
8.3.220.0090.00916.98
8.3.210.0090.00818.30
8.3.200.0030.00516.39
8.3.190.0060.00317.17
8.3.180.0080.01016.43
8.3.170.0060.01217.06
8.3.160.0110.00720.20
8.3.150.0120.00618.35
8.3.140.0040.00416.56
8.3.130.0050.00318.49
8.3.120.0070.00720.64
8.3.110.0080.00020.94
8.3.100.0050.00324.06
8.3.90.0040.01526.77
8.3.80.0040.00417.97
8.3.70.0070.01116.38
8.3.60.0150.00618.31
8.3.50.0120.00318.25
8.3.40.0100.01020.26
8.3.30.0070.01120.21
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0130.00628.09
8.2.290.0140.00520.43
8.2.280.0080.01018.36
8.2.270.0120.00318.89
8.2.260.0060.00318.16
8.2.250.0050.00316.64
8.2.240.0090.00017.15
8.2.230.0000.01022.58
8.2.220.0030.01337.54
8.2.210.0100.00726.77
8.2.200.0150.00318.29
8.2.190.0110.00318.29
8.2.180.0150.00016.75
8.2.170.0140.00318.79
8.2.160.0110.00322.96
8.2.150.0030.00525.66
8.2.140.0050.00324.66
8.2.130.0070.01028.09
8.2.120.0140.00428.09
8.2.110.0090.00928.09
8.2.100.0110.00728.09
8.2.90.0000.01828.09
8.2.80.0120.00628.09
8.2.70.0080.00828.09
8.2.60.0110.00428.09
8.2.50.0120.00328.09
8.2.40.0110.00428.09
8.2.30.0090.00628.09
8.2.20.0120.00628.09
8.2.10.0100.01028.09
8.2.00.0080.00028.09
8.1.330.0110.00823.70
8.1.320.0110.00815.98
8.1.310.0070.00718.23
8.1.300.0040.00716.21
8.1.290.0060.00330.84
8.1.280.0140.00325.92
8.1.270.0060.00924.02
8.1.260.0080.00028.09
8.1.250.0090.00928.09
8.1.240.0090.00928.09
8.1.230.0000.00828.09
8.1.220.0110.00728.09
8.1.210.0040.00428.09
8.1.200.0030.00628.09
8.1.190.0120.00628.09
8.1.180.0040.00428.09
8.1.170.0100.00628.09
8.1.160.0030.01228.09
8.1.150.0070.00728.09
8.1.140.0050.00328.09
8.1.130.0030.00528.09
8.1.120.0000.00828.09
8.1.110.0040.00428.09
8.1.100.0040.00428.09
8.1.90.0040.00428.09
8.1.80.0030.00528.09
8.1.70.0050.00328.09
8.1.60.0050.00328.09
8.1.50.0060.00328.09
8.1.40.0060.00328.09
8.1.30.0000.01028.09
8.1.20.0080.00028.09
8.1.10.0030.00628.09
8.1.00.0000.00828.09

preferences:
32.19 ms | 403 KiB | 5 Q