php array_udiff function with strpos
<p>I am using this piece of code for comparing two arrays. </p>

<pre><code>&lt;?php
function myfunction($v1,$v2){
    if ($v1===$v2){
        return 0;
    }
    return 1;
}

$a1 = array("a"=&gt;"Cat", "b"=&gt;"Dog", "c"=&gt;"Horse");
$a2 = array(1=&gt;"Cat", 2=&gt;"Dog", 3=&gt;"Fish");

print_r(array_udiff($a1,$a2,"myfunction"));
?&gt;
</code></pre>

<p>The function works well for these arrays.  but i want to use php strpos function instead of <code>===</code> operator to compare two values i.e <code>if(strpos($v1,$v2) === true)</code>. I tried this but not working. Any help.
Thanks in advance.</p>
