Bug #14738 Updated: array_pad dies with large pad length
| From: | yohgaki@php.net | Date: | Wed, 27 Feb 2002 02:49:05 +0000 |
| Subject: | Bug #14738 Updated: array_pad dies with large pad length | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1146@lists.php.net to get a copy of this message | ||
ID: 14738
Updated by: yohgaki@php.net
Reported By: brianm@dealnews.com
-Status: Open
+Status: Feedback
Bug Type: Arrays related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Try snapshot. http://snaps.php.net/
I don't see the error. If you have problem, please reopen.
Previous Comments:
------------------------------------------------------------------------
[2001-12-28 11:13:39] brianm@dealnews.com
This code:
$arr=array();
$arr=array_pad($arr, 65535, md5(microtime()));
causes this output:
[Fri Dec 28 10:01:38 2001] Script: './test.php'
---------------------------------------
zend_execute.h(62) : Block 0x081BD070 status:
Beginning: Cached (allocated on ./zend_execute.c:1502, 12 bytes)
End: OK
---------------------------------------
backing that down to 65534 will cause no error. Looks like that
parameter is set to only allow 32 bit integers.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14738&edit=1