I am refreshing myself on OOP with PHP and I saw an example of setting functions and/or variables as static. When and why would I set a variable/function to static? I\'ve
If you want to share data with all instances, like counter for number of instances created on current execution .