3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$result = array( "\xb0\x00", "\x43\x00", "\x00\x00" ); $result = "\ub000\u4300\u0000"; echo transliterator_transliterate("Hex-Any/Java", $result), "\n"; $encoding = mb_detect_encoding( $result ); echo "encoding is: $encoding"; echo "result is: $result"; ?>

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.0100.03321.06
8.3.50.0260.03623.25
8.3.40.0090.02221.70
8.3.30.0060.02122.18
8.3.20.0030.01323.38
8.3.10.0120.00326.48
8.3.00.0060.00923.93
8.2.180.0180.02819.50
8.2.170.0100.02622.96
8.2.160.0100.02625.20
8.2.150.0000.01524.18
8.2.140.0060.00924.66
8.2.130.0070.00726.16
8.2.120.0040.01120.86
8.2.110.0030.01724.55
8.2.100.0000.02220.97
8.2.90.0070.01122.16
8.2.80.0030.01521.41
8.2.70.0000.02120.63
8.2.60.0090.01221.18
8.2.50.0090.00920.75
8.2.40.0090.00921.47
8.2.30.0000.02421.34
8.2.20.0060.01221.09
8.2.10.0070.01020.94
8.2.00.0070.01720.95
8.1.280.0040.02525.92
8.1.270.0040.01126.96
8.1.260.0000.01526.35
8.1.250.0040.01128.09
8.1.240.0270.02426.95
8.1.230.0160.00924.12
8.1.220.0070.01020.93
8.1.210.0000.01820.50
8.1.200.0140.01720.47
8.1.190.0030.01720.52
8.1.180.0070.01020.60
8.1.170.0030.01521.88
8.1.160.0030.01325.04
8.1.150.0100.01021.71
8.1.140.0080.01620.80
8.1.130.0070.01221.14
8.1.120.0030.01520.76
8.1.110.0070.01420.68
8.1.100.0060.01220.57
8.1.90.0080.01220.65
8.1.80.0120.00920.69
8.1.70.0000.01620.57
8.1.60.0130.01320.74
8.1.50.0070.01120.72
8.1.40.0030.01520.57
8.1.30.0030.01420.81
8.1.20.0090.00921.10
8.1.10.0090.00920.80
8.1.00.0030.01420.78
8.0.300.0000.01722.93
8.0.290.0060.01320.68
8.0.280.0030.01421.44
8.0.270.0030.01420.65
8.0.260.0000.01621.59
8.0.250.0030.01320.17
8.0.240.0080.01520.25
8.0.230.0000.01620.30
8.0.220.0030.01320.02
8.0.210.0000.01620.21
8.0.200.0070.01020.16
8.0.190.0070.01020.18
8.0.180.0090.01220.26
8.0.170.0090.01320.27
8.0.160.0080.00820.22
8.0.150.0030.01620.01
8.0.140.0000.01820.32
8.0.130.0030.00313.33
8.0.120.0070.01020.07
8.0.110.0000.01720.27
8.0.100.0030.01320.30
8.0.90.0030.01320.36
8.0.80.0100.02920.20
8.0.70.0060.01320.35
8.0.60.0030.01420.18
8.0.50.0000.01720.40
8.0.30.0100.03220.46
8.0.20.0130.02520.26
8.0.10.0070.01020.13
8.0.00.0130.02320.07
7.4.330.0030.00315.15
7.4.320.0030.01219.95
7.4.300.0040.01219.91
7.4.290.0060.01619.89
7.4.280.0170.00719.72
7.4.270.0140.01019.75
7.4.260.0120.00819.90
7.4.250.0030.01319.82
7.4.240.0050.01319.87
7.4.230.0000.01619.86
7.4.220.0220.03019.85
7.4.210.0120.03120.00
7.4.200.0000.01719.86
7.4.190.0000.01719.76
7.4.160.0070.04220.09
7.4.150.0140.03119.86
7.4.140.0140.02119.75
7.4.130.0070.02919.97
7.4.120.0130.02119.80
7.4.110.0070.02719.84
7.4.100.0140.03219.93
7.4.90.0200.03019.66
7.4.80.0130.02420.00
7.4.70.0160.03319.87
7.4.60.0270.01719.73
7.4.50.0060.01619.65
7.4.40.0070.02122.77
7.4.30.0070.02919.79
7.4.00.0030.01718.48
7.3.330.0030.00313.09
7.3.320.0000.00613.18
7.3.310.0090.00919.54
7.3.300.0040.01419.53
7.3.290.0040.02719.67
7.3.280.0130.02819.57
7.3.270.0070.02819.55
7.3.260.0120.02219.72
7.3.250.0100.03319.70
7.3.240.0150.02119.89
7.3.230.0000.03519.79
7.3.210.0070.03019.83
7.3.200.0090.04419.89
7.3.190.0130.02519.78
7.3.180.0110.02319.82
7.3.170.0090.02919.71
7.3.160.0140.02419.67
7.3.120.0100.01618.33
7.2.330.0200.02419.90
7.2.320.0150.02519.70
7.2.310.0090.02519.67
7.2.300.0100.02419.68
7.2.290.0060.02819.85
7.1.70.0040.01820.51
7.1.60.0250.04621.13
7.1.50.0100.03520.74
7.1.00.0100.09026.14
7.0.200.0070.02120.44
7.0.140.0030.09025.70
7.0.70.0130.08325.00
7.0.60.0170.09325.09
7.0.50.0030.08324.75
7.0.40.0070.08722.72
7.0.30.0000.08322.78
7.0.20.0000.09022.87
7.0.10.0130.06722.83
7.0.00.0100.08322.87
5.6.280.0070.09024.16
5.6.220.0070.07723.90
5.6.210.0000.10723.90
5.6.200.0030.05323.80
5.6.190.0100.06023.59
5.6.180.0030.05723.60
5.6.170.0000.06723.73
5.6.160.0030.06723.66
5.6.150.0070.06023.68
5.6.140.0070.06723.82
5.6.130.0070.07723.72
5.6.120.0100.09023.63
5.6.110.0000.07723.68
5.6.100.0070.07023.62
5.6.90.0100.09023.77
5.6.80.0070.06723.05
5.6.70.0070.08323.17
5.6.60.0000.05023.00
5.6.50.0030.05022.98
5.6.40.0070.04023.01
5.6.30.0130.07322.99
5.6.20.0030.09022.96
5.6.10.0070.08723.08
5.6.00.0100.07022.93
5.5.360.0200.04323.77
5.5.350.0130.09323.66
5.5.340.0100.07323.59
5.5.330.0100.08723.59
5.5.320.0130.04723.61
5.5.310.0070.08723.36
5.5.300.0070.06723.52
5.5.290.0100.08723.61
5.5.280.0170.06323.34
5.5.270.0070.06323.62
5.5.260.0070.07723.37
5.5.250.0030.05723.23
5.5.240.0100.05022.73
5.5.230.0070.04722.72
5.5.220.0030.08022.93
5.5.210.0170.05722.82
5.5.200.0100.04022.75
5.5.190.0100.08022.64
5.5.180.0000.08022.90
5.5.160.0100.06022.73
5.5.150.0000.08022.69
5.5.140.0130.07722.73
5.5.130.0200.07022.86
5.5.120.0100.08022.75
5.5.110.0000.08722.66
5.5.100.0070.08322.75
5.5.90.0030.08022.79
5.5.80.0070.08722.76
5.5.70.0070.07022.74
5.5.60.0130.08022.89
5.5.50.0070.07022.75
5.5.40.0100.08022.45
5.5.30.0000.05722.71
5.5.20.0030.06722.89
5.5.10.0070.05022.61
5.5.00.0100.06722.57
5.4.450.0000.08021.65
5.4.440.0100.08021.47
5.4.430.0000.08721.81
5.4.420.0130.08321.48
5.4.410.0030.08721.63
5.4.400.0030.06021.59
5.4.390.0070.06721.45
5.4.380.0070.04021.45
5.4.370.0100.06721.22
5.4.360.0100.04021.60
5.4.350.0070.05321.65
5.4.340.0000.07321.41
5.4.320.0000.08721.49
5.4.310.0070.07021.49
5.4.300.0100.08321.62
5.4.290.0030.08021.57
5.4.280.0100.08321.30
5.4.270.0070.06021.21
5.4.260.0100.07021.64
5.4.250.0070.06021.14
5.4.240.0030.08021.20
5.4.230.0070.08021.45
5.4.220.0030.04721.40
5.4.210.0030.06321.59
5.4.200.0070.08021.40
5.4.190.0070.07021.40
5.4.180.0100.08021.13
5.4.170.0130.05021.56
5.4.160.0070.08321.34
5.4.150.0070.06021.60
5.4.140.0070.09018.54
5.4.130.0070.08018.76
5.4.120.0070.06718.70
5.4.110.0030.08318.79
5.4.100.0030.06318.76
5.4.90.0030.08019.01
5.4.80.0000.05019.00
5.4.70.0070.04319.04
5.4.60.0000.04018.72
5.4.50.0130.06718.81
5.4.40.0070.05318.73
5.4.30.0100.06018.52
5.4.20.0130.07718.98
5.4.10.0000.05718.98
5.4.00.0100.04718.31
5.3.290.0070.07715.85
5.3.280.0100.07015.85
5.3.270.0070.06015.85
5.3.260.0070.07315.85
5.3.250.0030.08315.85
5.3.240.0070.07315.85
5.3.230.0070.07715.85
5.3.220.0070.05015.85
5.3.210.0070.07715.85
5.3.200.0100.07015.85
5.3.190.0130.07315.85
5.3.180.0070.05315.85
5.3.170.0030.04715.85
5.3.160.0070.07715.85
5.3.150.0030.07715.85
5.3.140.0030.05315.85
5.3.130.0070.08015.85
5.3.120.0130.07315.85
5.3.110.0100.06015.85
5.3.100.0070.03315.85
5.3.90.0000.04015.85
5.3.80.0000.04015.85
5.3.70.0030.03715.85
5.3.60.0030.08015.85
5.3.50.0030.03715.85
5.3.40.0030.07315.85
5.3.30.0000.08015.85
5.3.20.0070.07015.85
5.3.10.0030.07315.85
5.3.00.0070.07015.85
5.2.170.0100.05015.85
5.2.160.0030.06315.85
5.2.150.0070.06015.85
5.2.140.0030.06715.85
5.2.130.0030.04015.85
5.2.120.0070.04715.85
5.2.110.0000.05715.85
5.2.100.0030.05315.85
5.2.90.0000.05315.85
5.2.80.0030.06015.85
5.2.70.0130.04315.85
5.2.60.0030.06715.85
5.2.50.0030.03715.85
5.2.40.0070.04015.85
5.2.30.0030.04015.85
5.2.20.0100.05315.85
5.2.10.0030.06015.85
5.2.00.0030.05715.85
5.1.60.0000.05715.85
5.1.50.0000.06015.85
5.1.40.0000.05015.85
5.1.30.0070.05315.85
5.1.20.0030.03715.85
5.1.10.0070.03715.85
5.1.00.0030.03715.85
5.0.50.0000.03015.85
5.0.40.0000.02015.85
5.0.30.0000.03715.85
5.0.20.0070.01715.85
5.0.10.0000.02015.85
5.0.00.0000.03015.85
4.4.90.0000.02315.85
4.4.80.0000.02015.85
4.4.70.0030.02315.85
4.4.60.0000.03315.85
4.4.50.0000.03715.85
4.4.40.0030.05015.85
4.4.30.0030.02715.85
4.4.20.0030.01315.85
4.4.10.0030.03315.85
4.4.00.0000.02715.85
4.3.110.0030.02015.85
4.3.100.0000.01715.85
4.3.90.0000.01715.85
4.3.80.0000.02315.85
4.3.70.0030.01315.85
4.3.60.0030.01315.85
4.3.50.0000.01715.85
4.3.40.0000.02315.85
4.3.30.0000.01715.85
4.3.20.0000.02315.85
4.3.10.0000.01715.85
4.3.00.0030.01315.85

preferences:
47.91 ms | 401 KiB | 5 Q