Good thing in PHP nobody talks about
Do you know what I like about PHP?
It is designed to die after execution.
You should not fear code duplication, or bad formatting of code, of bad variables naming - mentioned artefacts of code smell are bad, but are nowhere close to statefulness in terms of contaminating your code.