Space Cat, Prince Among Thieves

Posts Tagged “Strange Behavior”

Static::? More like Lies::

In my professional work, we have a system that utilizes __call and __callStatic for caching of certain method calls. We have been running into a problem where calling an undefined method via :: within the class itself will trigger __call rather than the expected __callStatic.

The Problem

The follo…

Read More / Comment »