4 ms·
One that was missed is the change in the way that the count function operates on a null value, its breaking backwards compatibility. The only way to solve it i
by dana321 8y ago
One that was missed is the change in the way that the count function operates on a null value, its breaking backwards compatibility.
The only way to solve it is to write your own count function and call it everywhere instead.
Another problem is, if for example you are checking for a url variable to see if it exists, there's more than one way to do it - and only one of those ways is performant. Why have a special function that checks if a key exists when its slower than just checking if the entire variable exists?
I've since moved on to C++ and go, but the ubiquity of php on web hosting will bring me back to it again.