Re: User notes guidelines.
| From: | Sherif Ramadan | Date: | Thu, 10 Jan 2013 14:35:28 +0000 |
| Subject: | Re: User notes guidelines. | ||
| References: | 1 2 3 | Groups: | php.doc php.notes php.webmaster |
| Request: | Send a blank email to php-webmaster+get-15279@lists.php.net to get a copy of this message | ||
On Thu, Jan 10, 2013 at 9:34 AM, Levi Morrison <morrison.levi@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 :)