Passing parameters by assigning members? Why? It hides information flow, is error prone, not thread save (ok, doesn't matter in php). Essentially, we want functions to be stateless/idempotent, so we should minimize the reliance on any state. Member variables are local state - not as bad as global state, but still bad, and avoidable.