Re: question about storage capacity of array

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

 



--- In php-objects@xxxxxxxxxxxxxxx, "SaEeDoS" <saeedos@...> wrote:
>
> Hi all..
> what the limitation of storage capacity of array in php...i mean
> i want to put 10,000 records in array ... can i ? 
> 
> thanks
>

It depends on how much memory you reserved for php in php.ini file. If
your records are only strings or numbers you generally can store more
and more than 10000. If you would store other object (arrays of
arrays, class objects, or something more complex), you should increase
the memory allocation (and probably also time execution limit) by
editing php.ini.

Try to do some tests by adding random objects in a for (or while)
cycle waching memory allocation during the execution of the php page.


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux