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 ) ) );
Output for 5.6.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(4) "????"
Output for 4.3.0 - 5.2.17, 5.4.0 - 5.5.35
string(24) "&#244;&#144;&#128;&#128;"
Output for 5.3.0 - 5.3.29
Warning: mb_encode_numericentity() expects exactly 3 parameters, 2 given in /in/SvK8P on line 5 NULL