3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'абв'; echo mb_convert_encoding($str, 'CP1251', 'UTF8');
Output for 4.3.4 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
���
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 4.3.3
Warning: mb_convert_encoding(): Unknown encoding "CP1251" in /in/kdBQh 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/kdBQh on line 3