Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

array_diff()

3 tags 1 category

array_diff() — Computes the difference of arrays.

array_diff() — Compares array against one or more other arrays and returns the values in array that are not present in any of the other arrays.

Inputs: array: The array to compare from arrays: Arrays to compare against

Returns: Returns an array containing all the entries from array that are not present in any of the other arrays. Keys in the array array are preserved.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…