diff --git a/reference/array/functions/array-unique.xml b/reference/array/functions/array-unique.xml index 88a79d128721..ff52b00eb520 100644 --- a/reference/array/functions/array-unique.xml +++ b/reference/array/functions/array-unique.xml @@ -54,8 +54,17 @@ Comparison type flags: - SORT_REGULAR - compare items normally - (don't change types) + + SORT_REGULAR - compare items normally + (don't change types) + + + Be careful when using this flag in combination with numeric strings + as array values since this causes them to not be filtered out + correctly and you end up with duplicated values. + + + SORT_NUMERIC - compare items numerically