When NULL is passed as parameter there is a PHP warning when testing against it in the function in_array().