<?php $a = Array ( 0 => 'there is bald spot on the inside or outside of tyre', 1 => 'uneven tyre wear' ); $b = Array ( 0 => 'uneven tyre wear', 1 => 'there is bald spot on the inside or outside of tyre' ); if(count(array_diff($a,$b)) == 0){ echo "both array are identical"; }
You have javascript disabled. You will not be able to edit any code.