3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'абв'; echo mb_convert_encoding($str, 'Windows-1251', 'UTF-8');
based on 9L3G8
Output for 4.3.4 - 7.2.0
���
Output for 4.3.2 - 4.3.3
Warning: mb_convert_encoding(): Unknown encoding "Windows-1251" in /in/orQRu 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 "Windows-1251" in /in/orQRu on line 3