3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'абв'; echo mb_convert_encoding($str, 'CP1251', 'UTF-8');
based on kdBQh
Output for 4.3.4 - 7.2.0
���
Output for 4.3.2 - 4.3.3
Warning: mb_convert_encoding(): Unknown encoding "CP1251" in /in/ZCmXI on line 3
Output for 4.3.0 - 4.3.1
Warning: mb_convert_encoding() [http://www.php.net/function.mb-convert-encoding]: Unknown encoding "CP1251" in /in/ZCmXI on line 3