My first array A is : ["1604","1606","1610"]
My second Array B is : ["1604","1606","1607","1610"]
But when i am executing :
$results= array_diff($b,$a);
then I got the result like this But i dont want association (i.e. 2 as below). I want only key.(i.e. 1607).
My output Array results is : {"2":"1607"}
I want output like ["1607"].