Determining array type
| From: | NSK | Date: | Sat, 16 Apr 2005 03:48:55 +0000 |
| Subject: | Determining array type | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213174@lists.php.net to get a copy of this message | ||
We have two kinds of arrays in PHP:
$array["name"] = "George"
$array[0] = "George"
How can I determine (with a function returning true/false for example) which
type of array I am working with?
--
NSK (Nikolaos S. Karastathis)
Personal Homepage at http://nsk.wikinerds.org/
Owner of http://portal.wikinerds.org
Owner of http://www.nerdypc.org