CA Infotech interview question

write a php programs to print the duplicate values