#32713 [Opn->Csd]: array_pad() maximum 1048576 elements
| From: | vrana@php.net | Date: | Fri, 15 Apr 2005 08:30:41 +0000 |
| Subject: | #32713 [Opn->Csd]: array_pad() maximum 1048576 elements | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969367824@lists.php.net to get a copy of this message | ||
ID: 32713
Updated by: vrana@php.net
Reported By: per at computer dot org
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: linux
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
"It is possible to add most 1048576 elements at a time."
Previous Comments:
------------------------------------------------------------------------
[2005-04-15 10:19:16] per at computer dot org
Description:
------------
This should be in the documentation - array_pad() accepts a maximum of
1048576 elements to be padded per call. I got the following warning
from array_pad():
Warning: array_pad(): You may only pad up to 1048576 elements at a time
Reproduce code:
---------------
php -r '$a=array_pad(array(),1048577,1);'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32713&edit=1