3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("fe7ff9cb"), "UTF-8", "CP936" ), mb_check_encoding($bin, "CP936"), bin2hex(mb_convert_encoding($conv, "CP936", "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.0160.00319.64
8.4.10.0100.00723.88
8.3.140.0100.00718.56
8.3.130.0100.00018.33
8.3.120.0090.00020.60
8.3.110.0030.00520.94
8.3.100.0120.00616.53
8.3.90.0090.00026.77
8.3.80.0030.00818.43
8.3.70.0080.00816.58
8.3.60.0140.00716.88
8.3.50.0100.01020.31
8.3.40.0140.00720.18
8.3.30.0110.00418.67
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0100.00718.52
8.2.250.0040.00418.44
8.2.240.0030.00619.29
8.2.230.0110.00022.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0030.00618.54
8.2.190.0040.01518.26
8.2.180.0100.00725.92
8.2.170.0100.00718.90
8.2.160.0120.00622.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00219.89
8.2.110.0060.00322.39
8.2.100.0130.00317.97
8.2.90.0080.00417.75
8.2.80.0070.00718.15
8.2.70.0030.00618.18
8.2.60.0050.00318.17
8.2.50.0030.00618.17
8.2.40.0000.00820.64
8.2.30.0070.00018.11
8.2.20.0070.00020.84
8.2.10.0070.00018.23
8.2.00.0040.00419.47
8.1.310.0090.00916.44
8.1.300.0060.00320.21
8.1.290.0070.00418.88
8.1.280.0130.00725.92
8.1.270.0000.00724.66
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00622.37
8.1.230.0040.00819.23
8.1.220.0030.00517.79
8.1.210.0040.00418.77
8.1.200.0070.00317.47
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00718.90
8.1.150.0040.00418.73
8.1.140.0060.00317.55
8.1.130.0110.00017.55
8.1.120.0140.00217.52
8.1.110.0120.00417.63
8.1.100.0120.00417.62
8.1.90.0080.00717.47
8.1.80.0060.01017.64
8.1.70.0070.00817.62
8.1.60.0140.00417.75
8.1.50.0130.00417.66
8.1.40.0140.00317.66
8.1.30.0080.01017.79
8.1.20.0140.00317.69
8.1.10.0150.00217.58
8.1.00.0180.00017.70
8.0.300.0000.00721.50
8.0.290.0080.00016.75
8.0.280.0030.00318.41
8.0.270.0040.00417.21
8.0.260.0020.00616.82
8.0.250.0100.00416.85
8.0.240.0140.00016.92
8.0.230.0130.00216.84
8.0.220.0140.00216.87
8.0.210.0080.00516.73
8.0.200.0050.00916.87
8.0.190.0140.00016.87
8.0.180.0090.00616.83
8.0.170.0080.00516.80
8.0.160.0070.00716.91
8.0.150.0090.00516.83
8.0.140.0130.00116.85
8.0.130.0080.00716.85
8.0.120.0110.00416.84
8.0.110.0090.00516.78
8.0.100.0110.00316.80
8.0.90.0090.00516.75
8.0.80.0110.00416.86
8.0.70.0080.00616.85
8.0.60.0100.00516.87
8.0.50.0060.00816.76
8.0.30.0110.00216.78
8.0.20.0070.00816.92
8.0.10.0130.00216.98
7.4.330.0100.00415.88
7.4.320.0140.00116.60
7.4.300.0120.00316.52
7.4.290.0080.00816.46
7.4.280.0100.00616.58
7.4.270.0110.00416.63
7.4.260.0150.00016.50
7.4.250.0080.00416.55
7.4.240.0080.00416.63
7.4.230.0030.00616.57
7.4.220.0000.00816.56
7.4.210.0050.00616.54
7.4.200.0100.00516.51
7.4.190.0100.00516.63
7.4.180.0080.00716.64
7.4.160.0120.00216.61
7.4.150.0090.00616.53
7.4.140.0130.00116.48
7.4.130.0100.00316.48
7.4.120.0060.00816.53
7.4.110.0090.00516.46
7.4.100.0130.00116.57
7.4.90.0100.00416.61
7.4.80.0080.00616.47
7.4.70.0090.00416.46
7.4.60.0110.00216.54
7.4.50.0090.00316.38
7.4.40.0070.00616.37
7.4.30.0090.00416.38
7.4.20.0070.00416.35
7.4.10.0090.00416.44
7.4.00.0100.00316.35

preferences:
55.97 ms | 403 KiB | 5 Q