3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( mb_encode_numericentity( "\xf4\x90\x80\x80", array( 0x000000, 0x10FFFF, 0x000000, 0xFFFFFF ), true ) );
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: mb_encode_numericentity(): Unknown encoding "1" in /in/eGRoE on line 5 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: Unknown encoding "1" in /in/eGRoE on line 5 bool(false)
Output for 4.3.0 - 4.3.1
Warning: mb_encode_numericentity() [http://www.php.net/function.mb-encode-numericentity]: Unknown encoding "1" in /in/eGRoE on line 5 bool(false)