remove row in multidimensional array that has a value in PHP [duplicate]

I have a multidimensional array with values like this:

a | b | c
a | b | c
x | b | c
a | x | c

Now I want to remove (or create a second array) that removes every ROW that has any element of value x.
In my example above this should result into:

a | b | c
a | b | c

How would I do this best with build in php functionality? High efficiency does not matter in my case.

Thank you

Leave a Comment