3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "\xD6wn"; $output = mb_convert_encoding($input, 'UTF-8', 'ISO-8859-1'); var_dump(bin2hex($input), bin2hex($output));

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.140.0110.01217.57
8.4.130.0160.00517.63
8.4.120.0120.00820.49
8.4.110.0130.00818.74
8.4.100.0170.00417.71
8.4.90.0110.01017.45
8.4.80.0080.00417.75
8.4.70.0130.00718.09
8.4.60.0130.00718.71
8.4.50.0130.00720.26
8.4.40.0060.00320.59
8.4.30.0100.01017.61
8.4.20.0100.00019.21
8.4.10.0110.00017.65
8.3.270.0140.00516.29
8.3.260.0080.00817.01
8.3.250.0120.00618.88
8.3.240.0120.00816.52
8.3.230.0120.00716.69
8.3.220.0080.01116.49
8.3.210.0070.00418.20
8.3.200.0120.00616.66
8.3.190.0100.01017.08
8.3.180.0090.01016.53
8.3.170.0120.00616.94
8.3.160.0040.00418.39
8.3.150.0150.00316.46
8.3.140.0130.00616.93
8.3.130.0090.00618.12
8.3.120.0060.00320.78
8.3.110.0080.00020.94
8.3.100.0060.00316.51
8.3.90.0000.00816.53
8.3.80.0040.00416.38
8.3.70.0150.00316.58
8.3.60.0100.01318.43
8.3.50.0080.01017.53
8.3.40.0070.01418.72
8.3.30.0060.00918.50
8.3.20.0030.00520.20
8.3.10.0080.00421.90
8.3.00.0080.00023.58
8.2.290.0110.00819.28
8.2.280.0130.00820.35
8.2.270.0110.00717.18
8.2.260.0070.01018.59
8.2.250.0000.00916.80
8.2.240.0040.00417.21
8.2.230.0090.00922.58
8.2.220.0110.00424.06
8.2.210.0180.00026.77
8.2.200.0060.00316.88
8.2.190.0100.01016.63
8.2.180.0070.00725.92
8.2.170.0110.00419.04
8.2.160.0110.00320.64
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0080.00021.21
8.2.120.0000.00726.35
8.2.110.0050.00521.12
8.2.100.0120.00017.91
8.2.90.0030.00519.35
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0000.00917.75
8.2.50.0020.00518.05
8.2.40.0040.00419.36
8.2.30.0050.00219.32
8.2.20.0000.00818.18
8.2.10.0030.00518.27
8.2.00.0040.00418.16
8.1.330.0130.00716.40
8.1.320.0110.00916.27
8.1.310.0110.00718.07
8.1.300.0060.00919.51
8.1.290.0070.00318.88
8.1.280.0130.01025.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0100.00021.25
8.1.230.0000.01121.04
8.1.220.0030.00617.88
8.1.210.0030.00618.77
8.1.200.0060.00317.64
8.1.190.0030.00517.48
8.1.180.0060.00318.10
8.1.170.0030.00617.62
8.1.160.0070.00018.97
8.1.150.0040.00418.99
8.1.140.0050.00219.19
8.1.130.0030.00319.10
8.1.120.0070.00017.45
8.1.110.0000.00917.56
8.1.100.0030.00317.46
8.1.90.0080.00017.48
8.1.80.0070.00017.59
8.1.70.0100.00017.47
8.1.60.0060.00317.61
8.1.50.0030.00617.67
8.1.40.0000.00717.52
8.1.30.0000.00817.69
8.1.20.0070.00017.71
8.1.10.0050.00217.69
8.1.00.0090.00017.46
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0000.00718.48
8.0.270.0030.00317.18
8.0.260.0040.00416.93
8.0.250.0030.00517.04
8.0.240.0000.00717.00
8.0.230.0070.00416.99
8.0.220.0000.00716.86
8.0.210.0070.00016.84
8.0.200.0070.00017.07
8.0.190.0030.00517.00
8.0.180.0000.00716.89
8.0.170.0040.00416.93
8.0.160.0000.00717.01
8.0.150.0040.00416.91
8.0.140.0000.00716.88
8.0.130.0050.00013.39
8.0.120.0040.00416.87
8.0.110.0050.00216.91
8.0.100.0030.00316.76
8.0.90.0030.00316.77
8.0.80.0110.00516.98
8.0.70.0040.00416.98
8.0.60.0080.00016.83
8.0.50.0070.00016.93
8.0.30.0110.00817.14
8.0.20.0130.00617.40
8.0.10.0030.00516.90
8.0.00.0100.00716.77
7.4.330.0000.00515.55
7.4.320.0030.00316.67
7.4.300.0030.00316.67
7.4.290.0030.00516.41
7.4.280.0030.00516.68
7.4.270.0030.00316.71
7.4.260.0040.00416.58
7.4.250.0050.00316.60
7.4.240.0030.00516.50
7.4.230.0030.00316.77
7.4.220.0180.00616.56
7.4.210.0080.00716.65
7.4.200.0000.00716.40
7.4.160.0100.00616.64
7.4.150.0060.01217.40
7.4.140.0080.01117.86
7.4.130.0150.00416.68
7.4.120.0100.01116.54
7.4.110.0170.00716.51
7.4.100.0140.00316.57
7.4.90.0170.00016.58
7.4.80.0100.00619.39
7.4.70.0120.00616.27
7.4.60.0030.01516.55
7.4.50.0100.00616.25
7.4.40.0090.00816.65
7.4.30.0070.01416.41
7.4.00.0030.01214.66
7.3.330.0030.00313.25
7.3.320.0030.00313.19
7.3.310.0060.00016.33
7.3.300.0030.00316.18
7.3.290.0030.00316.27
7.3.280.0080.00916.23
7.3.270.0060.01117.40
7.3.260.0110.00716.46
7.3.250.0120.00716.37
7.3.240.0110.00816.49
7.3.230.0120.00416.50
7.3.210.0070.01016.32
7.3.200.0060.00916.60
7.3.190.0100.01016.60
7.3.180.0100.01016.31
7.3.170.0120.00416.45
7.3.160.0030.01216.32
7.3.00.0120.00316.47
7.2.330.0150.00316.42
7.2.320.0080.00816.39
7.2.310.0100.00616.65
7.2.300.0060.01216.68
7.2.290.0100.00716.68
7.2.130.0040.00716.49
7.2.120.0000.01417.00
7.2.110.0100.00316.82
7.2.100.0000.01016.94
7.2.90.0040.01117.03
7.2.80.0030.00916.98
7.2.70.0090.00616.98
7.2.60.0090.00416.89
7.2.50.0060.00916.65
7.2.40.0080.00416.94
7.2.30.0160.00316.84
7.2.20.0040.01317.02
7.2.10.0000.01016.88
7.2.00.0120.01017.29
7.1.250.0060.00615.71
7.1.240.0040.00715.79
7.1.230.0080.00315.59
7.1.220.0050.00215.95
7.1.210.0100.00015.89
7.1.200.0090.00415.79
7.1.190.0000.01515.80
7.1.180.0070.00315.81
7.1.170.0070.00715.80
7.1.160.0040.01115.62
7.1.150.0020.00516.03
7.1.140.0040.00815.91
7.1.130.0070.00315.75
7.1.120.0090.00916.48
7.1.110.0100.00616.11
7.1.100.0090.00716.09
7.1.90.0050.01016.85
7.1.80.0110.00715.98
7.1.70.0130.00715.31
7.1.60.0160.00724.56
7.1.50.0180.00424.34
7.1.40.0180.01124.05
7.1.30.0170.01224.25
7.1.20.0150.00925.09
7.1.10.0410.01316.23
7.1.00.0050.00716.30
7.0.330.0070.00315.26
5.6.380.0030.01014.39

preferences:
141.31 ms | 403 KiB | 5 Q