3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_internal_encoding()); var_dump(mb_strtolower('你好?')); mb_internal_encoding('UTF-8'); var_dump(mb_internal_encoding()); var_dump(mb_strtolower('你好?', 'UTF-8));
Output for 5.4.0 - 5.4.14
Parse error: syntax error, unexpected ''UTF-8));' (T_ENCAPSED_AND_WHITESPACE) in /in/1c1vl on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.24
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/1c1vl on line 7
Process exited with code 255.