АМ
$array
)[1] ?Size: a a a
АМ
$array
)[1] ?V
$array
)[1] ?АМ
I
4
$assignmentScopes = [
['id' => 8, 'scope_type_id' => 1],
['id' => 2, 'scope_type_id' => 1]
...
];
$questionScopes = [
['scope' => 1, 'type' => 1],
['scope' => 2, 'type' => 1],
...
];
$matches = false;
foreach ($assignmentScopes as $asScope) {
foreach ($questionScopes as $qScope) {
if ($asScope->id === $qScope->scope && $asScope->scope_type_id === $qScope->type) {
$matches = true;
break 2;
}
}
}
ДК
GG
А
S
S
А
S
S
GG
GG
А
А
S
GG
S