intersect_assoc

The intersect_assoc filter returns an array containing only the values that are in both arrays. The array keys are also used in the comparison.


Arguments

The intersect_assoc filter has the following signature.

intersect_assoc(array)
Argument Description
array

The array to intersect with the original value.

< Back to the list of filters