3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mb_detect_encoding('\xcd\xe5\xe1\xee\xeb\xfc\xf8\xe0\xff \xf1\xe5\xec\xe5');

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.0150.00018.18
8.3.50.0080.01021.92
8.3.40.0140.00018.56
8.3.30.0100.00320.13
8.3.20.0040.00420.07
8.3.10.0050.00321.96
8.3.00.0070.00022.44
8.2.180.0100.00718.25
8.2.170.0100.00322.96
8.2.160.0170.00322.30
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0110.00326.16
8.2.120.0000.00919.54
8.2.110.0000.00820.23
8.2.100.0080.00418.85
8.2.90.0040.00419.09
8.2.80.0040.00419.09
8.2.70.0060.00317.50
8.2.60.0000.00718.04
8.2.50.0030.00518.07
8.2.40.0070.00018.21
8.2.30.0000.00718.12
8.2.20.0050.00317.70
8.2.10.0030.00517.60
8.2.00.0030.00617.45
8.1.280.0070.00725.92
8.1.270.0000.00724.66
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0070.00323.63
8.1.230.0000.01120.89
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.13
8.1.190.0080.00017.41
8.1.180.0050.00518.84
8.1.170.0000.00818.57
8.1.160.0040.00422.07
8.1.150.0070.00018.47
8.1.140.0000.00817.37
8.1.130.0000.01017.76
8.1.120.0030.00317.29
8.1.110.0000.00717.38
8.1.100.0000.00717.38
8.1.90.0030.00317.38
8.1.80.0000.00717.41
8.1.70.0000.00717.32
8.1.60.0030.00717.50
8.1.50.0040.00417.35
8.1.40.0040.00417.43
8.1.30.0050.00217.41
8.1.20.0070.00317.60
8.1.10.0070.00017.48
8.1.00.0040.00417.32
8.0.300.0080.00018.77
8.0.290.0030.00517.17
8.0.280.0000.00718.44
8.0.270.0070.00017.11
8.0.260.0000.00616.66
8.0.250.0000.00716.97
8.0.240.0080.00416.77
8.0.230.0000.00716.91
8.0.220.0040.00416.68
8.0.210.0000.00816.84
8.0.200.0000.00616.86
8.0.190.0070.00016.76
8.0.180.0060.00316.80
8.0.170.0000.00816.74
8.0.160.0000.00716.71
8.0.150.0000.01016.81
8.0.140.0000.00716.63
8.0.130.0060.00013.23
8.0.120.0000.00716.65
8.0.110.0040.00416.68
8.0.100.0040.00416.79
8.0.90.0070.00016.71
8.0.80.0040.01116.82
8.0.70.0000.00816.82
8.0.60.0040.00416.69
8.0.50.0000.00716.80
8.0.30.0130.00616.88
8.0.20.0090.00917.40
8.0.10.0050.00216.85
8.0.00.0120.01016.75
7.4.330.0000.00515.00
7.4.320.0000.00616.56
7.4.300.0030.00316.53
7.4.290.0000.00616.45
7.4.280.0060.00016.31
7.4.270.0030.00616.34
7.4.260.0070.00216.50
7.4.250.0040.00416.41
7.4.240.0020.00616.46
7.4.230.0040.00416.47
7.4.220.0160.00916.37
7.4.210.0090.00616.55
7.4.200.0030.00316.61
7.4.190.0000.00716.66
7.4.160.0070.01016.22
7.4.150.0140.00317.40
7.4.140.0100.00717.86
7.4.130.0030.01616.51
7.4.120.0100.00716.49
7.4.110.0140.00416.46
7.4.100.0040.02016.41
7.4.90.0160.00716.34
7.4.80.0140.00719.39
7.4.70.0150.00616.27
7.4.60.0130.00316.38
7.4.50.0000.00916.29
7.4.40.0040.01522.77
7.4.30.0070.01016.30
7.4.00.0130.00014.87
7.3.330.0030.00313.03
7.3.320.0050.00013.09
7.3.310.0030.00316.15
7.3.300.0030.00316.10
7.3.290.0070.00716.18
7.3.280.0100.00816.20
7.3.270.0100.00717.40
7.3.260.0070.01016.39
7.3.250.0090.00916.30
7.3.240.0090.01016.58
7.3.230.0060.00916.39
7.3.210.0090.01016.04
7.3.200.0090.00719.39
7.3.190.0160.00716.42
7.3.180.0110.00616.49
7.3.170.0110.00516.35
7.3.160.0140.00716.16
7.3.120.0070.01014.43
7.3.10.0070.00316.50
7.3.00.0030.01016.45
7.2.330.0110.00816.36
7.2.320.0060.01316.47
7.2.310.0340.01916.32
7.2.300.0130.00416.72
7.2.290.0070.01016.61
7.2.130.0040.00417.03
7.2.120.0030.00916.86
7.2.110.0000.00816.70
7.2.100.0080.00416.71
7.2.90.0040.00716.45
7.2.80.0060.00316.57
7.2.70.0030.01016.45
7.2.60.0070.01016.69
7.2.50.0070.00316.43
7.2.40.0030.00516.93
7.2.30.0070.00416.97
7.2.20.0000.00716.79
7.2.10.0080.00416.69
7.2.00.0080.00518.16
7.1.250.0080.00415.77
7.1.200.0000.01215.60
7.1.100.0090.00618.18
7.1.70.0030.00316.91
7.1.60.0110.01419.43
7.1.50.0060.01916.98
7.1.00.0000.03722.28
7.0.200.0040.00416.11
7.0.140.0070.07022.09
7.0.70.4770.04019.95
7.0.60.0100.08019.99
7.0.50.0030.04317.87
7.0.40.0070.05020.03
7.0.30.0500.07020.16
7.0.20.0270.07720.04
7.0.10.0200.08320.12
7.0.00.0070.04319.99
5.6.280.0070.06721.14
5.6.210.0100.07720.71
5.6.200.0100.08018.18
5.6.190.0070.04020.76
5.6.180.0130.06020.37
5.6.170.0170.05720.41
5.6.160.0130.05320.71
5.6.150.0030.04318.15
5.6.140.0070.08318.20
5.6.130.0170.04718.15
5.6.120.0100.07721.09
5.6.110.0170.06721.00
5.6.100.0030.07320.99
5.6.90.0070.06721.07
5.6.80.0130.07720.53
5.6.70.0030.08020.34
5.5.350.0030.05020.39
5.5.340.0030.07017.98
5.5.330.0000.06020.47
5.5.320.0030.04720.37
5.5.310.0270.07320.32
5.5.300.0070.04017.96
5.5.290.0030.05317.97
5.5.280.0100.08020.79
5.5.270.0000.05020.96
5.5.260.0030.08720.87
5.5.250.0070.08720.46
5.5.240.0000.07320.25
5.4.450.0200.05319.52
5.4.440.0900.06019.10
5.4.430.0730.05319.51
5.4.420.0730.04719.31
5.4.410.0400.07018.97
5.4.400.0800.05719.14
5.4.390.0430.06019.18
5.4.380.0100.06018.49
5.4.370.0130.05318.55
5.4.360.0200.04018.55
5.4.350.0080.03611.97
5.4.340.0060.03811.96
5.4.320.0060.03612.45
5.4.310.0060.03712.45
5.4.300.0080.04112.45
5.4.290.0050.04412.45
5.4.280.0070.04012.34
5.4.270.0050.03612.35
5.4.260.0100.04212.35
5.4.250.0070.03712.34
5.4.240.0030.05318.88
5.4.230.0000.05718.93
5.4.220.0170.06318.74
5.4.210.0070.05018.87
5.4.200.0100.04719.03
5.4.190.0170.04318.88
5.4.180.0070.04718.77
5.4.170.0130.06318.72
5.4.160.0070.05018.88
5.4.150.0130.04718.76
5.4.140.0070.04716.50
5.4.130.0130.04016.25
5.4.120.0070.05016.47
5.4.110.0100.04716.43
5.4.100.0030.05316.43
5.4.90.0130.05016.25
5.4.80.0030.05016.41
5.4.70.0100.04316.21
5.4.60.0070.04716.38
5.4.50.0100.04716.42
5.4.40.0100.04716.52
5.4.30.0070.07016.31
5.4.20.0100.04716.31
5.4.10.0000.05716.42
5.4.00.0000.05315.94
5.3.290.0070.04512.80
5.3.280.0070.05014.61
5.3.270.0100.04714.46
5.3.260.0100.06314.75
5.3.250.0030.05314.62
5.3.240.0130.06714.44
5.3.230.0070.04714.45
5.3.220.0100.04714.57
5.3.210.0000.06014.48
5.3.200.0070.05314.34
5.3.190.0070.06014.43
5.3.180.0100.04314.25
5.3.170.0130.04314.57
5.3.160.0170.06314.52
5.3.150.0030.07314.42
5.3.140.0230.05014.57
5.3.130.0230.06014.39
5.3.120.0100.04714.55
5.3.110.0030.06014.39
5.3.100.0070.05014.07
5.3.90.0030.05014.02
5.3.80.0070.05714.06
5.3.70.0030.05014.02
5.3.60.0070.05313.84
5.3.50.0070.04713.99
5.3.40.0030.05013.81
5.3.30.0130.06014.05
5.3.20.0070.06313.54
5.3.10.0130.04013.48
5.3.00.0000.05313.75
5.2.170.0000.04711.05
5.2.160.0030.04011.03
5.2.150.0030.04311.24
5.2.140.0030.04011.13
5.2.130.0070.03711.03
5.2.120.0000.04311.00
5.2.110.0100.03311.09
5.2.100.0030.03711.01
5.2.90.0130.03011.03
5.2.80.0100.03310.99
5.2.70.0100.04010.97
5.2.60.0030.04311.04
5.2.50.0070.03710.93
5.2.40.0130.03310.88
5.2.30.0070.04710.85
5.2.20.0100.03310.96
5.2.10.0070.05010.79
5.2.00.0070.03710.79
5.1.60.0000.03310.13
5.1.50.0030.03310.14
5.1.40.0000.0379.74
5.1.30.0070.04310.40
5.1.20.0000.03710.52
5.1.10.0000.0379.96
5.1.00.0130.0339.94
5.0.50.0070.0238.55
5.0.40.0030.0278.29
5.0.30.0030.0408.28
5.0.20.0030.0278.19
5.0.10.0100.0338.11
5.0.00.0000.0438.07
4.4.90.0030.0306.34
4.4.80.0030.0206.34
4.4.70.0000.0206.34
4.4.60.0000.0236.34
4.4.50.0030.0206.34
4.4.40.0030.0336.34
4.4.30.0070.0176.34
4.4.20.0030.0206.34
4.4.10.0030.0206.34
4.4.00.0030.0336.34
4.3.110.0070.0206.34
4.3.100.0100.0106.34
4.3.90.0000.0206.34
4.3.80.0000.0336.34
4.3.70.0000.0206.34
4.3.60.0030.0206.34
4.3.50.0000.0236.34
4.3.40.0030.0306.34
4.3.30.0030.0206.34
4.3.20.0000.0236.34
4.3.10.0070.0176.34
4.3.00.0000.0237.38

preferences:
41.23 ms | 401 KiB | 5 Q