in_array(), second parameter cannot be null, then i check if is set before.