Hello Etienne,
Wednesday, July 2, 2008, 1:57:06 PM, you wrote:
> Hi,
> I'd like to fix the resolution order of Countable::count() vs
> count_elements handler.
> Currently, things are done like this:
> 1) check if the object implements countable, if so, call it's method
> 2) if not, check if cou
Hi,
I'd like to fix the resolution order of Countable::count() vs
count_elements handler.
Currently, things are done like this:
1) check if the object implements countable, if so, call it's method
2) if not, check if count_elements handler is defined, if so, use it.
This is a problematic order o