remove the unwanted value in array php code example Example: remove array values php array_splice(array, start, length, array)