3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $regexEncoding = "CP-1251"; var_dump(mb_internal_encoding()); exit(); var_dump(mb_regex_encoding($regexEncoding));
Output for 5.6.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(5) "UTF-8"
Output for 4.3.3 - 5.5.36
string(10) "ISO-8859-1"
Output for 4.3.0 - 4.3.2
string(4) "pass"