3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set( 'default_charset', 'iso-8859-1' ); var_dump( ini_get("mbstring.internal_encoding") ); var_dump( ini_get("mbstring.http_input") ); var_dump( ini_get("mbstring.http_output") ); var_dump(mb_internal_encoding()); var_dump(mb_strlen( "\xc3\xb6" )); var_dump(mb_strlen( "\xc3\xb6", '8bit' ));

preferences:
68.66 ms | 408 KiB | 5 Q