3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('//u', "\xF0A0808A")); var_dump(mb_convert_encoding('𠀋 ', 'ENTITIES', 'UTF-8'));
based on d0QN1
Output for 5.3.4 - 5.6.28, 7.0.0 - 7.1.0
bool(false) Warning: mb_convert_encoding(): Unknown encoding "ENTITIES" in /in/ci75K on line 3 bool(false)
Output for hhvm-3.10.0 - 3.12.0
bool(false) Warning: Unknown encoding "ENTITIES" in /in/ci75K on line 3 bool(false)
Output for 4.3.5 - 5.3.3
int(0) Warning: mb_convert_encoding(): Unknown encoding "ENTITIES" in /in/ci75K on line 3 bool(false)
Output for 4.3.2 - 4.3.4
int(1) Warning: mb_convert_encoding(): Unknown encoding "ENTITIES" in /in/ci75K on line 3 bool(false)
Output for 4.3.0 - 4.3.1
int(1) Warning: mb_convert_encoding() [http://www.php.net/function.mb-convert-encoding]: Unknown encoding "ENTITIES" in /in/ci75K on line 3 bool(false)