3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$result = array( "\xb0\x00", "\x43\x00", "\x00\x00" ); $result = "\ub000\u4300\u0000"; $encoding = mb_detect_encoding( $result ); echo "encoding is: $encoding"; ?>
Output for 4.3.0 - 7.1.0
encoding is: ASCII