3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array("a" => "green", "b" => "brown", "c" => "blue", "red"); $b = array("a" => "green", "yellow", "red"); $c = array("c" => "blue"); print_r(array_diff_assoc($a, $b, $c));
based on tuTSn
Output for 4.3.0 - 7.2.0
Array ( [b] => brown [0] => red )