Pchp.Library.Arrays.array_diff C# (CSharp) Method

array_diff() public static method

Computes the difference of arrays.
Keys are preserved. Entries are considered to be equal iff values compared by by string comparison method are the same (see ValueComparer.String).
is a null reference. is a null reference or an empty array.
public static array_diff ( Context ctx, PhpArray array ) : PhpArray
ctx Pchp.Core.Context Current runtime context.
array Pchp.Core.PhpArray The array from which to take items away.
return Pchp.Core.PhpArray
        public static PhpArray array_diff(Context ctx, PhpArray array, params PhpArray[] arrays)
        {
            return SetOperation(SetOperations.Difference, array, arrays, ValueComparer.String(ctx));
        }