PHP clean code