Source Code:
(back to article)
<?php $array1 = array(1, 2, 3); $array2 = array(2, 3, 4); $result = array_diff($array1, $array2); print_r($result); ?>
Result:
Report an issue