Determining array type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux