Up until today, I thought I had a fairly good grasp of how the static modifier worked. I know that (in laymans terms) a static variable in a function does not \'reset\' acro
You should think of non-static class member functions as if they were just like ordinary functions, but with an implicit $this
argument that is automatically provided by the interpreter. (That's exactly how they're implemented in most languages.)