<?php $input = [ ['id' => 3, 'other' => 'some string', 'timestamp' => '2000-01-01 12:12:12'], ['id' => 4, 'other' => 'some string', 'timestamp' => '1900-01-01 01:12:23'], ['id' => 5, 'other' => 'toker', 'timestamp' => '1900-04-20 00:04:20'], ]; $filterBy = [ ['id' => 3, 'other' => 'some string', 'timestamp' => '2000-01-01 00:00:00'], ['id' => 5, 'other' => 'toker', 'timestamp' => '1900-04-20 00:04:20'], ]; var_dump( array_udiff( $input, $filterBy, fn($a, $b) => $a <=> $b ) );
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`