Answer the question
In order to leave comments, you need to log in
How to output matches from 2 arrays?
Good day.
How to quickly and correctly display elements of the first array repeated in another array?
For example:
$array = [
"1" => "foo",
"2" => "bar",
];
$array2 = [
"1" => "def",
"2" => "foo",
];
$array2 = [
"1" => "dec",
"2" => "foo",
];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question