PHPize Online / SQLize Online

A A A
Share   Donate   Blog   Popular
Copy Format Clear
Copy
Copy Format Clear
<?php $arr1 = [ 33 => [ 0 => 30319, 1 => 30318, 2 => 30315, 3 => 50209 ] ]; $arr2 = [ 33 => [ 0 => 50209, 1 => 50149, 2 => 30315, ], 32 => [ 0 => 12345 ] ]; $res = array_diff($arr2, $arr1); var_dump($res);
Show:  
Copy