You are here: Re: PHP and Arrays? « PHP Programming Language « IT news, forums, messages
Re: PHP and Arrays?

Posted by Oli Filth on 09/16/05 02:14

David said the following on 15/09/2005 23:41:
> How can one tell if a PHP array is a simple array or a hashed array
> (key/valye). The gettype returns "array", but is there a function
> that will tell me the type?
>

Not really, PHP does not distinguish between the two.

Even the numeric "array" is really implemented as a hash-map, as the
indices do not have to be consecutive.




--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация