I have an array build. In this structure, I want to compare the array and list the ones that are not in the 1st array. I use array_diff but I get an error because it is a multi array. How should I do this with Foreach?
- Array
{
0: {
0: "Mantar",
1: "Zeytin",
2: "Domates",
3: "Soğan",
4: "Turşu"
},
1: {
0: "Mantar",
1: "Zeytin",
2: "Domates",
3: "Soğan",
4: "Turşu"
}
},
- Array
{
0: {
0: "Mantar",
1: "Zeytin",
2: "Domates"
},
1: {
0: "Mantar",
1: "Zeytin",
2: "Domates",
3: "Soğan",
4: "Turşu"
}
},