3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php setlocale(LC_CTYPE, 'ru_RU'); $text = 'фгчнбхшг'; echo 'Original: ', $text, PHP_EOL; echo 'Translit: ', iconv('UTF8', 'ASCII//TRANSLIT', $text), PHP_EOL;
based on 7TdbL
Output for 5.0.2 - 5.5.34, 5.6.0 - 5.6.20, 5.6.28 - 7.0.5, 7.0.20 - 7.2.0
Original: фгчнбхшг Translit: ????????
Output for 7.0.6 - 7.0.10
Original: фгчнбхшг Translit: Fatal error: Uncaught Error: Call to undefined function iconv() in /in/ofjG0:6 Stack trace: #0 {main} thrown in /in/ofjG0 on line 6
Process exited with code 255.
Output for 5.5.35 - 5.5.38, 5.6.21 - 5.6.25
Original: фгчнбхшг Translit: Fatal error: Call to undefined function iconv() in /in/ofjG0 on line 6
Process exited with code 255.
Output for 5.0.0 - 5.0.1
Original: фгчнбхшг Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ofjG0 on line 5 PHP_EOLTranslit: ???????? Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ofjG0 on line 6 PHP_EOL
Output for 4.4.5 - 4.4.9
Original: фгчнбхшг Translit: Fatal error: Call to undefined function: iconv() in /in/ofjG0 on line 6
Process exited with code 255.
Output for 4.3.10 - 4.4.4
Original: фгчнбхшг Translit: Fatal error: Call to undefined function: iconv() in /in/ofjG0 on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.9
Original: фгчнбхшг Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ofjG0 on line 5 PHP_EOLTranslit: Fatal error: Call to undefined function: iconv() in /in/ofjG0 on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Original: фгчнбхшг Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ofjG0 on line 5 PHP_EOLTranslit: Fatal error: Call to undefined function: iconv() in /in/ofjG0 on line 6