3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('a'=>array(1), 'b'=>'fool'); $b = array('c'=>array(2), 'd'=>'ofyou'); var_dump(array_diff_assoc($a, $b));
based on Ig4rc
Output for 4.3.0 - 7.1.0
array(2) { ["a"]=> array(1) { [0]=> int(1) } ["b"]=> string(4) "fool" }