3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(mb_regex_encoding());
Output for 5.6.0 - 7.2.6
string(5) "UTF-8"
Output for 5.5.0 - 5.5.35
string(6) "EUC-JP"