I want to check if there is any of the array values ββfrom example 1 in example 2 and remove them from example 2, if any. How can I do this with PHP?
Example 1
Array ( [0] => 3 [1] => 5 )
Example 2
Array ( [0] => 3 [1] => 3 [2] => 4 [3] => 4 [4] => 4 [5] => 3 [6] => 3 [7] => 3 [8] => 4 [9] => 4 [10] => 4 [11] => 3 )
source share