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'), );
Output for git.master_jit, git.master, rfc.property-hooks
string(10) "ISO-8859-1" string(10) "ISO-8859-1" bool(true) bool(true)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
103.33 ms | 405 KiB | 5 Q