Check and return duplicates array php

前端 未结 10 2128
我寻月下人不归
我寻月下人不归 2020-12-05 22:33

I would like to check if my array has any duplicates and return the duplicated values in an array. I want this to be as efficient as possible.

Example:



        
10条回答
提交回复
热议问题