For the past six months or so I have become very fond of writing wrapper classes for just about everything I do in PHP. I find that I prefer to use static methods and properties most of the time.
Now I'm starting to wonder what are the advantages or disadvantages to using static methods and properties in my classes? Would it ever affect overall performance or future scalability?
The online PHP documentation doesn't really discuss this. I'm interested in feedback from programmers that have written and used static and non-static classes.
Thanks in advance.
-a6m1n0
Now I'm starting to wonder what are the advantages or disadvantages to using static methods and properties in my classes? Would it ever affect overall performance or future scalability?
The online PHP documentation doesn't really discuss this. I'm interested in feedback from programmers that have written and used static and non-static classes.
Thanks in advance.
-a6m1n0