phpcpd is a Copy/Paste Detector (CPD) for PHP code. The goal of phpcpd is not not to replace more sophisticated tools such as phpcs, pdepend, or phpmd, but rather to provide an alternative to them when you just need to get a quick overview of duplicated code in a project. Reproducible: Always
Been in the tree for a while now.