Posts Tagged “Bugs”
The tl;dr is this:
You can fix the problem by replacing number with ReturnType
Similarly you can replace number with ReturnType if you are seeing the problem with setInterval.
If you want to know more about it, read on.
I've run into this problem a number…
Read More / Comment »
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 »
Working on a class in our application, I discovered that it was being included before a number of constants it used for its members were even defined. Puzzled on how this had never been a problem I started to experiment; echoing the member at the bottom of the class file after the class closed show…
Read More / Comment »