Reply to Re: multidimensional array declaration in php

Your name:

Reply:


Posted by vito on 07/15/06 23:13

> Well, in this case you're trying to initialize 10,000 * 10,000 arrays,
> each with an integer. On a 32 bit system that's something like
> 400,000,000 bytes (close to 400 mb) of storage plus the overhead of the
> arrays themselves. Probably a bit more than you have available - the
> default is around 8M.
>
> Why would you ever try to initialize this much memory (in either PHP or
> C/C++) anyway?
>

Indeed, i just hope to make an array of a[10000][3] and then can be used
later. i'd be glad if you could tell me how to initialize such an array.
Thanks.

[Back to original 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

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