3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $output = "test"; if(!mb_check_encoding($output, 'UTF-8')) { if(mb_check_encoding($output, 'ISO-8859-1')) { $output = utf8_encode($output); } else { $output = mb_convert_encoding($content, 'UTF-8'); } } return $output; ?>
Output for 4.4.3 - 4.4.9, 5.1.3 - 5.6.26, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Output for 5.0.0 - 5.1.2
Fatal error: Call to undefined function mb_check_encoding() in /in/sIDhs on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.2
Fatal error: Call to undefined function: mb_check_encoding() in /in/sIDhs on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mb_check_encoding() in /in/sIDhs on line 5