- use checkdupkey from the command line to give it file names and get back a list of the ones that have duplicate keys
- duparraykey.php does the magic and returns 0/1 as an exit code so it can be automated on the command line
- repeatedlabels.php does the same magic as duparraykey.php but it is prepared to show you a list of the duplicated keys in the browser.
The idea is to run checkdupkey on your arrays and use repeatedlabels.php on the positive ones in order to fix them
License: MIT
HTH