> 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. As for the other information: thanks.