3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('//u', "\xE4B880")); var_dump(preg_match('//u', "\xF0A0808B")); var_dump(mb_convert_encoding('𠀋 ', 'UTF-8', 'UTF-8'));
based on 00Q9l
Output for 5.3.4 - 7.1.0
bool(false) bool(false) string(5) "𠀋 "
Output for 4.3.5 - 5.3.3
int(0) int(0) string(5) "𠀋 "
Output for 4.3.0 - 4.3.4
int(1) int(1) string(5) "𠀋 "