get unique array from multidimentional array by value in php 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));