array_diff_assoc
laravel/framework
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Computes the difference of arrays with additional index check
array_diff_assoc
(array
$array
, array ...
$arrays
): array
public function
diffAssoc
(
$items
)
{
return new static(
array_diff_assoc
(
$this
->
items
,
$this
->
getArrayableItems
(
$items
)));
}
src/Illuminate/Collections/Collection.php