Get correct the null value in MultiCheckbox

We know that in PHP, a key to null is equal to "".
But in_array doesn't verify the type. So, we can't be sure to have "" or 0.