1 2 3 4 5 6 7 8
<?php $custom_header = '{}'; $custom_header = htmlentities($custom_header); $custom_header = html_entity_decode($custom_header); var_dump($custom_header); var_dump(bin2hex($custom_header));
1 2
string(2) "{}" string(4) "7b7d"