php get unique values from two arrays code example
Example: get unique array from multidimentional array by value in php
$uniquePids = array_unique(array_map(function ($i) { return $i['pid']; }, $holder));
$uniquePids = array_unique(array_map(function ($i) { return $i['pid']; }, $holder));