Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php array_diff_assoc

PHP function array_diff_assoc(array $array1, array $array2, array ...$_) string[]
-----------------------------------------------------------------------------
Computes the difference of arrays with additional index check.
  
Parameters:
array--$array1--The array to compare from
array--$array2--An array to compare against
array--...$_--[optional]
  
Returns: an array containing all the values from array1 that are not present in any of the other arrays.
Source by php.net #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
6+5 =