<?php
$array = [
['id' => 18460, 'field_id' => 14, 'parent_id' => 165, 'custom_tab_field_id' => 17775, 'status' => 0, 'field_type' => 0],
['id' => 18460, 'field_id' => 2, 'parent_id' => 165, 'custom_tab_field_id' => 17776, 'status' => 0, 'field_type' => 2],
['id' => 18460, 'field_id' => 14, 'parent_id' => 165, 'custom_tab_field_id' => 17777, 'status' => 2, 'field_type' => 2],
];
$findKey = 'custom_tab_field_id';
$getKey = 'status';
$findVal = 17777;
$arrKeyValue = array_column($array,$getKey,$findKey);
$status = $arrKeyValue[$findVal];
var_dump($status);
preferences:
25.01 ms | 405 KiB | 5 Q