Php – Filter an array of arrays to remove rows where the entire payload is found inside another (potentially larger) row
I get an array of associative arrays of selected company's hierarchy combinations (Some hierarchy levels may be null). For example, if the hierarchy goes division > department > team: [ 0 => ["division" => "division1"] 1 => ["division" => "division2"]…