You are here: Re: array declaration « All PHP « IT news, forums, messages
Re: array declaration

Posted by Janwillem Borleffs on 07/24/05 14:17

Kees Boer wrote:
> Let me ask you on this reply. Which words are variables and which are
> reserverd words?
>
> $array = array_fill(0, 32, array(array()))
>
> What is array_fill? Is that a reserved word or just some variable
> that was made up.

array_fill is a function, see the manual: http://www.php.net/array_fill.

> What does array(array()) do?
>

This creates an empty array with an empty array as its first and only
element.


JW

 

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

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