3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $content = 'Le Courrier de Sáint-Hyácinthe'; mb_internal_encoding('UTF-8'); if(!mb_check_encoding($content, 'UTF-8') OR !($content === mb_convert_encoding(mb_convert_encoding($content, 'UTF-32', 'UTF-8' ), 'UTF-8', 'UTF-32'))) { $content = mb_convert_encoding($content, 'UTF-8'); } // LE COURRIER DE SÁINT-HYÁCINTHE echo mb_convert_case($content, MB_CASE_UPPER, "UTF-8"); >
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '>' in /in/kXAmA on line 13
Process exited with code 255.