Re: finding the index name of an associative array

From: Date: Sun, 01 Apr 2007 14:26:04 +0000
Subject: Re: finding the index name of an associative array
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-251892@lists.php.net to get a copy of this message
foreach is also not recursive, writing a recursive function to recursively return the keys in an array should be trivial. -- itoctopus - http://www.itoctopus.com "Man-wai Chang" <toylet.toylet@gmail.com> wrote in message news:euo9fk$asu$1@sea.gmane.org... > itoctopus wrote: > > Note, however, that array_keys is not recursive. > > foreach is recursive??? thanks. > > -- > .~. Might, Courage, Vision, SINCERITY. > http://www.linux-sxs.org > / v \ Simplicity is Beauty! May the Force and Farce be with you! > /( _ )\ (Ubuntu 6.10) Linux 2.6.20.4 > ^ ^ 20:44:01 up 8 days 7:56 0 users load average: 1.00 1.00 1.00 > news://news.3home.net news://news.hkpcug.org > news://news.newsgroup.com.hk

« previous php.general (#251892) next »