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@xxxxxxxxx> wrote in message news:euo9fk$asu$1@xxxxxxxxxxxxxxxx > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php