Solution for "php check difference two array"

<?php $array1 = array("a" => "green", "red", "blue", "red"); $array2 = array("b" => "green", "yellow", "red"); $result = array_diff($array1, $array2); print_r($result); ?> Array ( [1] => blue )

php find differences between two arrays

Similar codes for "php check difference two array"


Latest 'PHP' questions

Added before "php check difference two array"