3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( bin2hex( htmlspecialchars( "\xf4\x90\xbf\xbf", ENT_IGNORE, 'UTF-8' ) ) );

preferences:
42.19 ms | 402 KiB | 5 Q