array_diff
laravel-shift/factory-generator
Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Computes the difference of arrays
<?php array_diff
(array
$array
, array ...
$arrays
): array