On Fri, Mar 16, 2001 at 11:43:17PM +0100, Alexander Wagner wrote:
> Joe wrote:
> > Is there a way to determine if an array is associative or not?  Maybe
> > something similar to the is_array() function ??
> 
> There are only assotiative arrays in PHP.

PHP has associative and numeric (normal) arrays. But is_array() says only
if it is an array or not. The distinction could only be made if you look
at keys. Keys can be integers or strings. I hope this was correct, if not,
Andrei can correct me :)

-Egon

-- 
http://www.linuxtag.de/
http://php.net/books.php 
http://www.concert-band.de/
http://www.php-buch.de/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to