I got an array like this $ ids = array (3,7,6,5,1,8,11). How do we know that the missing values are 2,4,9,10?
My expected values are $ lids 1,2,3,4,5,6,7,8,9,10,11 and the order doesn't matter, it could be 3,5,6,1,2,4, 8,9 10.11.
I do not need to populate my array with missing values. I just want to know who is missing
source
share