On Thu, Jan 10, 2013 at 9:34 AM, Levi Morrison <morrison.l...@gmail.com>wrote:

> > Another way to look at this is if the function lacks something not
> otherwise
> > covered by another function. To elaborate I've seen user implementations
> of
> > count that work on multidimensional arrays. Obviously PHP has no similar
> > function. There is no count_recursive in PHP so I think that's fine and
> it's
> > fairly simple to implement in user land.
>
> Actually, there is an optional parameter you can supply for a
> recursive option. As such I have deleted all of the count_recursive
> code dumps except one. It had 3 upvotes and limited the depth of the
> recursion.
>

This just goes to show how much I actually read the manual :)

Reply via email to