Function

array_diff

Synopsis

array_diff(mixed, mixed ...): array

Area
Runtime\PS\Core\Arrays\Sets\array_diffareas

Description

array_diff returns the entries of $array whose value is in none of the other arrays, keys kept; it compares values as strings, which is php's own rule and the reason 0 and "0" are the same entry here.

Usage

$value = array_diff($arguments);
$fn = array_diff(...);

See also