<?php $vieja = [ ['file' => 'a', 'md5' => '1'], ['file' => 'b', 'md5' => '2'], ['file' => 'c', 'md5' => '3'], ['file' => 'd', 'md5' => '4'], ]; $nueva = [ ['file' => 'a', 'md5' => '2'], ['file' => 'b', 'md5' => '2'], ['file' => 'c', 'md5' => '3'], ['file' => 'd', 'md5' => '4'], ]; var_export( array_uintersect( $nueva, $vieja, fn($a, $b) => $a <=> $b ) );
You have javascript disabled. You will not be able to edit any code.