array_udiff_assoc

PHP 5, PHP 7, PHP 8
array_udiff_assoc - Computes the difference of arrays with additional index check, compares data by a callback function
Manual
Code Examples

Example #1 array_udiff_assoc example

Result: Array ( [0.1] => cr Object ( [priv_member:private] => 9 ) [0.5] => cr Object ( [priv_member:private] => 12 ) [0] => cr Object ( [priv_member:private] => 23 ) )
PHP Version: