I have 2 questions:
1) Is the Scope Resolution Operator (::) slow for static access (or slower than -> for an instantiated class)?
The name kinda suggests it has to “resolve” a scope so that’s why I’m asking.
2) What about overloads, specifically __get() and __set()?
I have been avoiding their use because I heard they had an overall negative impact on perfomance.
Thanks in advance for any answers/advice.
1 Answer