<?php $s = '&'; $d = htmlentities($s); var_dump(mb_detect_encoding($s)); var_dump(mb_detect_encoding($d), $d);
You have javascript disabled. You will not be able to edit any code.