compare two array values in php