- var_dump: documentation ( source)
- mb_decode_numericentity: documentation ( source)
<?php
var_dump(
mb_decode_numericentity('ß', [ 0x0, 0xffff, 0, 0xffff ], 'UTF-8'),
mb_decode_numericentity('ß', [ 0x0, 0xffff, 0, 0xffff ], 'UTF-8', true)
);