Is duplicate PHP code bad practice?

Printable View