How to check whether an array contains any duplicates in PHP?

Published --