Python class attributes and PHP static class properties at the surface appear to function identically (excluding the ability in PHP to add visibility public/protected/private).
Use of either statics or attributes:
- Are tied to the class not the instance
- Must be evaluated at run time
- if you rely on either inside a class method definition you're going to have difficulty achieving complete coverage for testing of that method.
My question is are there any significant differences I'm missing.