Voting

: eight minus one?
(Example: nine)

The Note You're Voting On

eugeny dot yakimovitch at gmail dot com
14 years ago
Note that array_diff is not equivalent to

<?php
function fullArrayDiff($left, $right)
{
return
array_diff(array_merge($left, $right), array_intersect($left, $right));
}
?>

since it is a set-theoretical complement as in

http://en.wikipedia.org/wiki/Complement_(set_theory)

<< Back to user notes page

To Top