3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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' ));
Output for 7.1.25 - 7.3.4
string(0) "" string(0) "" string(0) "" string(5) "UTF-8" int(1) int(2)