I'm just wondering if there is a way to set unwanted parameters other than 'null' within htmlentities(). So if I only want to disable double_encode, I am doing this:
Example:
$data = htmlentities(file_get_contents($file),null,null,0);
Just wondering of there is a different parameter setup (not that the above is problematic, as it does work). More of a curiosity thing than anything else.
P.S For those who are going to blindly suggest empty commas or zeros, the short answer is that won't do it.