NYCPHP Meetup

NYPHP.org

[nycphp-talk] Getting the number of dimensions of an array

Chris Snyder chsnyder at gmail.com
Fri May 18 17:07:50 EDT 2012


On Fri, May 18, 2012 at 5:03 PM, Donald Organ <dorgan at donaldorgan.com> wrote:
> http://us.php.net/count
>
> $size = count($array, 1);
>

Hah, nice. I love the warning: count() does not detect infinite recursion.



More information about the talk mailing list