3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_substitute_character("long"); var_dump( $conv = mb_convert_encoding( $bin = hex2bin("70000000"), "UTF-8", "UCS-4BE" ), mb_check_encoding($bin, "UCS-4BE"), bin2hex(mb_convert_encoding($conv, "UCS-4BE", "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.0040.01118.33
8.3.50.0040.01218.39
8.3.40.0100.00720.21
8.3.30.0060.00918.42
8.3.20.0000.00724.18
8.3.10.0000.00824.66
8.3.00.0080.00026.16
8.2.180.0110.00325.92
8.2.170.0120.00318.84
8.2.160.0040.01222.96
8.2.150.0030.00525.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0060.00322.27
8.2.100.0090.00317.78
8.2.90.0000.00817.63
8.2.80.0050.00317.97
8.2.70.0050.00317.93
8.2.60.0080.00017.93
8.2.50.0030.00518.07
8.2.40.0050.00318.16
8.2.30.0070.00018.09
8.2.20.0030.00320.62
8.2.10.0000.00718.12
8.2.00.0000.00719.14
8.1.280.0120.00325.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0050.00522.47
8.1.230.0060.00622.51
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.00
8.1.180.0000.00818.10
8.1.170.0090.00018.66
8.1.160.0040.00418.84
8.1.150.0040.00418.68
8.1.140.0070.00317.36
8.1.130.0130.00417.31
8.1.120.0050.01117.35
8.1.110.0160.00017.49
8.1.100.0120.00317.50
8.1.90.0000.01517.46
8.1.80.0080.00817.54
8.1.70.0100.00517.39
8.1.60.0080.01217.52
8.1.50.0110.00717.50
8.1.40.0110.00717.60
8.1.30.0160.00617.53
8.1.20.0160.00417.48
8.1.10.0100.01017.45
8.1.00.0150.00317.37
8.0.300.0000.00818.77
8.0.290.0070.00316.63
8.0.280.0050.00218.43
8.0.270.0030.00316.76
8.0.260.0110.00516.80
8.0.250.0110.00616.80
8.0.240.0050.01016.72
8.0.230.0070.00716.70
8.0.220.0110.00416.66
8.0.210.0120.00316.74
8.0.200.0140.00316.74
8.0.190.0110.00316.86
8.0.180.0050.00916.71
8.0.170.0080.00816.80
8.0.160.0120.00416.71
8.0.150.0160.00016.69
8.0.140.0120.00216.86
8.0.130.0060.00916.61
8.0.120.0110.00716.78
8.0.110.0070.00716.73
8.0.100.0120.00416.73
8.0.90.0070.00716.69
8.0.80.0100.00516.64
8.0.70.0120.00316.73
8.0.60.0120.00316.73
8.0.50.0100.00516.75
8.0.30.0120.00316.61
8.0.20.0130.00416.84
8.0.10.0070.00716.86
7.4.330.0040.01215.88
7.4.320.0170.00016.39
7.4.300.0080.01116.42
7.4.290.0160.00016.29
7.4.280.0140.00516.27
7.4.270.0110.00516.49
7.4.260.0080.01216.39
7.4.250.0170.00016.50
7.4.240.0110.00516.27
7.4.230.0130.00416.30
7.4.220.0120.00016.33
7.4.210.0070.00416.46
7.4.200.0070.00316.38
7.4.190.0050.00516.35
7.4.180.0080.00316.36
7.4.160.0100.00016.48
7.4.150.0110.00015.93
7.4.140.0040.00816.24
7.4.130.0070.00416.25
7.4.120.0100.00016.37
7.4.110.0050.00516.11
7.4.100.0050.00516.38
7.4.90.0030.00816.32
7.4.80.0060.00616.23
7.4.70.0060.00616.29
7.4.60.0060.00416.25
7.4.50.0050.00516.14
7.4.40.0040.00716.07
7.4.30.0060.00616.18
7.4.20.0080.00316.14
7.4.10.0050.00516.09
7.4.00.0090.00216.21

preferences:
36.33 ms | 400 KiB | 5 Q