Sunday, 8 September 2013

Comparing arrays with identical values

Comparing arrays with identical values

$array1 = array(1,1,1);
$array2= array(1,5,9,2,2,1);
I need to compare $array2 with $array1 and if $array2 has the same
identical values should return true, otherwise should be returning false.
In this case it should return false

No comments:

Post a Comment