Written by Anonymous

!empty(array_filter($affiliates, function($v, $k) { return $v->visible === "1"; }, ARRAY_FILTER_USE_BOTH))
Notepad
Select All