- var_export: documentation ( source)
- array_udiff: documentation ( source)
<?php
$array1 = [
["module1", "path/to/file.txt", ""],
["module2", "path/to/file2.txt", ""],
];
$array2 = [
["module1", "path/to/file.txt", ""]
];
var_export(
array_udiff($array1, $array2, fn($a, $b) => $a <=> $b)
);