3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '/dav/files/admin/%C3%BC%C3%B6%C3%A4%C3%B6%C3%A4%C3%BC%C3%B6%C3%A4%C3%BB%C5%B7%C3%AE'; $rawstr = rawurldecode($str); var_dump( mb_detect_encoding($rawstr, ['UTF-8', 'ISO-8859-1']), mb_detect_encoding($rawstr, ['ISO-8859-1', 'UTF-8']), mb_check_encoding($rawstr, 'ISO-8859-1'), mb_check_encoding($rawstr, '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.4.130.0120.00817.57
8.4.120.0030.00820.39
8.4.110.0100.01118.71
8.4.100.0080.01217.59
8.4.90.0080.01317.48
8.4.80.0090.00317.57
8.4.70.0160.00317.60
8.4.60.0150.00518.43
8.4.50.0110.00917.43
8.4.40.0200.00019.39
8.4.30.0100.01020.59
8.4.20.0140.00717.95
8.4.10.0060.01320.58
8.3.260.0110.00816.29
8.3.250.0070.00919.17
8.3.240.0040.00616.71
8.3.230.0080.01016.65
8.3.220.0060.00617.19
8.3.210.0100.00816.69
8.3.200.0040.00416.62
8.3.190.0110.00816.84
8.3.180.0100.00716.61
8.3.170.0090.00918.79
8.3.160.0110.00016.36
8.3.150.0060.01218.97
8.3.140.0050.00318.23
8.3.130.0030.01418.22
8.3.120.0060.00318.79
8.3.110.0000.00920.94
8.3.100.0080.00024.06
8.3.90.0000.00826.77
8.3.80.0000.00816.38
8.3.70.0100.00716.58
8.3.60.0110.00416.50
8.3.50.0060.00918.42
8.3.40.0070.00720.52
8.3.30.0100.00319.04
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0070.00026.16
8.2.290.0160.00620.51
8.2.280.0060.00318.64
8.2.270.0080.00017.28
8.2.260.0080.00416.97
8.2.250.0000.00818.41
8.2.240.0130.00317.40
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0050.00326.77
8.2.200.0060.00317.00
8.2.190.0090.00616.75
8.2.180.0170.00025.92
8.2.170.0060.00919.07
8.2.160.0100.00322.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00426.16
8.2.110.0000.00920.52
8.2.100.0060.00618.03
8.2.90.0060.00317.88
8.2.80.0000.00818.03
8.2.70.0040.00417.75
8.2.60.0000.00817.93
8.2.50.0090.00418.75
8.2.40.0080.00518.84
8.2.30.0070.00518.83
8.2.20.0090.00320.07
8.2.10.0070.00518.87
8.2.00.0100.00319.43
8.1.330.0090.01021.75
8.1.320.0120.00716.25
8.1.310.0130.00016.68
8.1.300.0040.00418.33
8.1.290.0090.00030.84
8.1.280.0140.00725.92
8.1.270.0140.00322.59
8.1.260.0030.00626.35
8.1.250.0090.00028.09
8.1.240.0000.01023.72
8.1.230.0080.00320.96
8.1.220.0090.00017.79
8.1.210.0050.00318.77
8.1.200.0060.00617.32
8.1.190.0050.00317.47
8.1.180.0080.00418.81
8.1.170.0080.00418.57
8.1.160.0080.00419.27
8.1.150.0120.00219.09
8.1.140.0050.00718.54
8.1.130.0120.00019.26
8.1.120.0070.00518.50
8.1.110.0080.00518.19
8.1.100.0070.00718.24
8.1.90.0100.00418.21
8.1.80.0060.00718.21
8.1.70.0070.00618.18
8.1.60.0090.00618.31
8.1.50.0090.00618.22
8.1.40.0090.00818.21
8.1.30.0120.00618.33
8.1.20.0140.00518.25
8.1.10.0130.00818.20
8.1.00.0160.00318.19
8.0.300.0000.00819.79
8.0.290.0040.00416.75
8.0.280.0100.00218.99
8.0.270.0080.00418.20
8.0.260.0080.00418.96
8.0.250.0040.00818.27
8.0.240.0050.00617.78
8.0.230.0100.00317.70
8.0.220.0060.00717.77
8.0.210.0120.00117.76
8.0.200.0060.00817.83
8.0.190.0080.00517.75
8.0.180.0110.00317.82
8.0.170.0100.00517.73
8.0.160.0130.00217.74
8.0.150.0140.00217.74
8.0.140.0080.00717.71
8.0.130.0100.00517.71
8.0.120.0140.00217.77
8.0.110.0120.00517.76
8.0.100.0120.00417.76
8.0.90.0080.00717.70
8.0.80.0120.00217.66
8.0.70.0120.00417.68
8.0.60.0110.00717.75
8.0.50.0120.00317.73
8.0.30.0110.00617.73
8.0.20.0130.00417.75
8.0.10.0120.00517.80
7.4.330.0020.00717.53
7.4.320.0110.00517.19
7.4.300.0110.00217.57
7.4.290.0040.00917.54
7.4.280.0100.00817.54
7.4.270.0120.00517.56
7.4.260.0130.00417.54
7.4.250.0100.00517.49
7.4.240.0120.00317.52
7.4.230.0120.00217.57
7.4.220.0110.00217.46
7.4.210.0110.00317.58
7.4.200.0100.00317.51
7.4.190.0130.00317.53
7.4.180.0100.00617.54
7.4.160.0120.00317.61
7.4.150.0130.00217.49
7.4.140.0120.00317.53
7.4.130.0110.00417.39
7.4.120.0050.00917.45
7.4.110.0140.00117.49
7.4.100.0120.00517.56
7.4.90.0120.00317.46
7.4.80.0110.00417.51
7.4.70.0070.00817.35
7.4.60.0120.00317.35
7.4.50.0110.00417.37
7.4.40.0090.00617.34
7.4.30.0110.00417.42
7.4.20.0090.00517.34
7.4.10.0110.00317.42
7.4.00.0120.00317.44

preferences:
28.98 ms | 403 KiB | 5 Q