ID: 32713 Updated by: [EMAIL PROTECTED] 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