3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_substitute_character("long"); var_dump( $conv = mb_convert_encoding( $bin = hex2bin("7FFFFFFF"), "UTF-8", "CP932" ), mb_check_encoding($bin, "CP932"), bin2hex(mb_convert_encoding($conv, "CP932", "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.3.60.0090.00916.88
8.3.50.0110.00718.50
8.3.40.0090.00620.04
8.3.30.0110.00418.63
8.3.20.0000.00824.18
8.3.10.0080.00024.66
8.3.00.0090.00026.16
8.2.180.0140.00425.92
8.2.170.0120.00318.90
8.2.160.0040.01122.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0090.00019.91
8.2.110.0000.00920.60
8.2.100.0040.00818.03
8.2.90.0040.00419.34
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0050.00318.05
8.2.50.0000.00718.18
8.2.40.0030.00618.26
8.2.30.0000.00818.21
8.2.20.0050.00320.66
8.2.10.0040.00418.15
8.2.00.0000.00719.34
8.1.280.0140.00025.92
8.1.270.0050.00224.66
8.1.260.0080.00626.35
8.1.250.0040.00428.09
8.1.240.0040.00423.96
8.1.230.0080.00317.64
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00517.47
8.1.190.0000.00717.75
8.1.180.0000.00818.10
8.1.170.0040.00419.05
8.1.160.0030.00318.93
8.1.150.0030.00518.84
8.1.140.0030.00517.54
8.1.130.0110.00417.63
8.1.120.0140.00417.63
8.1.110.0130.00417.63
8.1.100.0120.00617.50
8.1.90.0090.00917.63
8.1.80.0050.01417.64
8.1.70.0170.00017.67
8.1.60.0060.01217.80
8.1.50.0140.00717.68
8.1.40.0160.00517.66
8.1.30.0140.00817.83
8.1.20.0160.00317.69
8.1.10.0130.00717.63
8.1.00.0140.00717.47
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0050.00218.46
8.0.270.0030.00317.18
8.0.260.0160.00016.74
8.0.250.0150.00016.88
8.0.240.0130.00316.93
8.0.230.0040.00816.84
8.0.220.0050.01016.84
8.0.210.0040.00816.72
8.0.200.0090.00316.84
8.0.190.0090.00516.88
8.0.180.0100.00516.92
8.0.170.0110.00416.79
8.0.160.0070.00716.84
8.0.150.0100.00316.73
8.0.140.0120.00416.72
8.0.130.0120.00416.37
8.0.120.0140.00016.32
8.0.110.0070.00716.43
8.0.100.0090.00416.80
8.0.90.0090.00516.36
8.0.80.0120.00016.48
8.0.70.0100.00316.76
8.0.60.0100.00316.80
8.0.50.0110.00316.82
8.0.30.0150.00016.75
8.0.20.0120.00016.71
8.0.10.0090.00616.84
7.4.330.0110.00715.88
7.4.320.0150.00016.58
7.4.300.0040.01216.41
7.4.290.0140.00016.29
7.4.280.0080.00616.50
7.4.270.0150.00016.37
7.4.260.0080.00616.37
7.4.250.0150.00016.40
7.4.240.0160.00016.33
7.4.230.0060.00916.46
7.4.220.0080.00516.31
7.4.210.0080.00416.23
7.4.200.0140.00016.04
7.4.190.0050.00916.32
7.4.180.0090.00216.22
7.4.160.0080.00416.57
7.4.150.0090.00316.30
7.4.140.0080.00516.45
7.4.130.0120.00016.38
7.4.120.0090.00416.33
7.4.110.0060.00616.31
7.4.100.0110.00316.54
7.4.90.0070.00716.49
7.4.80.0090.00316.18
7.4.70.0100.00316.18
7.4.60.0080.00416.15
7.4.50.0070.00216.21
7.4.40.0060.00616.25
7.4.30.0140.00016.25
7.4.20.0100.00316.27
7.4.10.0070.00716.30
7.4.00.0070.00716.07

preferences:
45.72 ms | 400 KiB | 5 Q