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( $rawstr, mb_detect_encoding($rawstr, ['UTF-8']), 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.5.10.0060.01018.73
8.5.00.0130.01019.70
8.4.150.0030.00014.05
8.4.140.0110.01117.43
8.4.130.0120.00917.61
8.4.120.0100.01120.60
8.4.110.0070.00622.11
8.4.100.0120.00917.54
8.4.90.0090.00918.38
8.4.80.0130.00617.50
8.4.70.0030.00517.84
8.4.60.0110.00918.84
8.4.50.0130.01119.43
8.4.40.0130.00719.60
8.4.30.0070.00418.67
8.4.20.0200.00018.05
8.4.10.0130.00620.61
8.3.280.0100.01018.14
8.3.270.0100.00916.46
8.3.260.0110.00916.47
8.3.250.0110.00719.04
8.3.240.0120.00716.64
8.3.230.0100.00616.29
8.3.220.0040.00317.00
8.3.210.0110.00616.50
8.3.200.0050.00416.33
8.3.190.0050.00317.22
8.3.180.0120.00616.59
8.3.170.0100.00318.68
8.3.160.0120.00318.54
8.3.150.0070.01120.70
8.3.140.0040.00416.43
8.3.130.0090.00916.23
8.3.120.0050.00318.67
8.3.110.0170.00320.94
8.3.100.0060.00316.49
8.3.90.0090.00626.77
8.3.80.0000.00916.63
8.3.70.0070.01416.59
8.3.60.0110.01116.50
8.3.50.0040.01118.40
8.3.40.0120.00622.22
8.3.30.0030.01019.05
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.290.0050.00320.25
8.2.280.0120.00720.18
8.2.270.0150.00319.34
8.2.260.0040.00418.38
8.2.250.0080.00018.79
8.2.240.0080.00417.13
8.2.230.0040.00422.58
8.2.220.0040.00424.06
8.2.210.0040.01126.77
8.2.200.0030.00616.75
8.2.190.0100.01016.88
8.2.180.0070.00725.92
8.2.170.0070.00718.99
8.2.160.0090.00622.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00026.16
8.2.110.0030.00621.31
8.2.100.0070.00417.84
8.2.90.0080.00018.03
8.2.80.0000.01017.97
8.2.70.0030.00648.69
8.2.60.0070.00548.74
8.2.50.0060.00648.71
8.2.40.0080.00349.38
8.2.30.0090.00248.79
8.2.20.0050.00549.93
8.2.10.0080.00248.75
8.2.00.0080.00449.37
8.1.330.0070.00221.91
8.1.320.0100.00916.21
8.1.310.0030.00618.63
8.1.300.0050.00516.04
8.1.290.0080.00030.84
8.1.280.0120.00625.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0030.00621.35
8.1.230.0090.00322.80
8.1.220.0040.00417.77
8.1.210.0040.00418.87
8.1.200.0080.00448.41
8.1.190.0030.00748.35
8.1.180.0070.00448.71
8.1.170.0100.00148.96
8.1.160.0060.00549.12
8.1.150.0100.00249.00
8.1.140.0070.00448.45
8.1.130.0070.00349.17
8.1.120.0050.00648.49
8.1.110.0050.00648.39
8.1.100.0040.00648.47
8.1.90.0090.00248.40
8.1.80.0020.00848.45
8.1.70.0080.00248.40
8.1.60.0090.00248.46
8.1.50.0060.00648.47
8.1.40.0110.00348.46
8.1.30.0050.01148.52
8.1.20.0080.00648.49
8.1.10.0090.00548.42
8.1.00.0100.00448.45
8.0.300.0000.00720.17
8.0.290.0080.00348.04
8.0.280.0040.00848.93
8.0.270.0060.00548.15
8.0.260.0030.00748.88
8.0.250.0070.00448.13
8.0.240.0030.00748.16
8.0.230.0080.00248.11
8.0.220.0060.00448.17
8.0.210.0050.00548.09
8.0.200.0050.00448.17
8.0.190.0080.00248.17
8.0.180.0090.00248.11
8.0.170.0040.00848.07
8.0.160.0070.00648.09
8.0.150.0050.00648.12
8.0.140.0050.00848.09
8.0.130.0060.00648.10
8.0.120.0030.00948.10
8.0.110.0070.00448.06
8.0.100.0060.00548.11
8.0.90.0100.00148.07
8.0.80.0080.00448.16
8.0.70.0030.01048.09
8.0.60.0100.00448.15
8.0.50.0090.00548.05
8.0.30.0110.00348.12
8.0.20.0070.00548.17
8.0.10.0060.00648.12
7.4.330.0080.00247.44
7.4.320.0080.00547.94
7.4.300.0100.00347.92
7.4.290.0080.00547.96
7.4.280.0080.00747.95
7.4.270.0130.00447.98
7.4.260.0090.00647.94
7.4.250.0080.00547.92
7.4.240.0120.00147.89
7.4.230.0090.00547.94
7.4.220.0120.00347.92
7.4.210.0090.00447.90
7.4.200.0080.00547.94
7.4.190.0050.00847.97
7.4.180.0090.00448.02
7.4.160.0100.00347.97
7.4.150.0130.00047.93
7.4.140.0090.00547.89
7.4.130.0030.01147.87
7.4.120.0130.00247.93
7.4.110.0100.00547.88
7.4.100.0170.00247.93
7.4.90.0140.00747.92
7.4.80.0160.00247.86
7.4.70.0130.00547.87
7.4.60.0170.00047.88
7.4.50.0110.00647.88
7.4.40.0130.00347.86
7.4.30.0130.00347.87
7.4.20.0110.00447.88
7.4.10.0100.00447.88
7.4.00.0100.00347.93

preferences:
39.35 ms | 403 KiB | 5 Q