3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //var_dump(mb_list_encodings()); exit(); $regexEncoding = "Windows-1251"; var_dump(mb_internal_encoding($regexEncoding)); exit(); var_dump(mb_regex_encoding($regexEncoding));
Output for 4.3.4 - 7.1.0
bool(true)
Output for 4.3.2 - 4.3.3
Warning: mb_internal_encoding(): Unknown encoding "Windows-1251" in /in/18jXD on line 6 bool(false)
Output for 4.3.0 - 4.3.1
Warning: mb_internal_encoding() [http://www.php.net/function.mb-internal-encoding]: Unknown encoding "Windows-1251" in /in/18jXD on line 6 bool(false)