This tip helps you to find duplicates values in an array and return the duplicated values in an array with index in an efficient way.

Hope this tip help you.

Posted in: PHP