I've been converting some code from using array to SplFixedArray and I ran into a gotcha - empty(array()) returns true whereas empty(new SplFixedArray()) returns false. Is this considered a bug?
I've been converting some code from using array to SplFixedArray and I ran into a gotcha - empty(array()) returns true whereas empty(new SplFixedArray()) returns false. Is this considered a bug?