PHP: Check for duplicate values in a multidimensional array June 2, 2023 by Tarik This will remove duplicate items from your array using array_unique(): $new_arr = array_unique($arr, SORT_REGULAR);