Php versions – PHP : array_intersect not giving expected result
I am trying to count the matches between expected and actual in a PHP array, I have this... $array = array( "item" => array( 'expected' => array( '1' => 25, '2' => 4, '3' => 4, ), 'color' => 'red',…