array_uintersect()
function array_uintersect(array $array1, array $array2, callable $callback): array
Computes the intersection of arrays using a callback comparator.
Parameters:
$array1(array)$array2(array)$callback(callable)
Returns: array
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): not available inside eval’d code.
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_uintersect is implemented in the compiler, see the internals page.