Bug #14738 Updated: array_pad dies with large pad length
| From: | php-bugs at lists dot php dot net | Date: | Fri, 19 Jul 2002 05:00:09 +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-14590@lists.php.net to get a copy of this message | ||
ID: 14738
Updated by: php-bugs@lists.php.net
Reported By: brianm@dealnews.com
-Status: Feedback
+Status: No Feedback
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4.2.0-dev
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 07:03:23] mfischer@php.net
Please try the latest snapshot from
http://snaps.php.net/php4-latest.tar.gz ,
I'm pretty sure this has been
fixed already, I can't reproduce it myself.
------------------------------------------------------------------------
[2002-02-27 01:06:08] yohgaki@php.net
With "80000" or "65536", I get the output.
Script: '-'
---------------------------------------
zend_execute.h(62) : Block 0x082FC410 status:
Beginning: Cached (allocated on ./zend_execute.c:1596, 12 bytes)
End: OK
---------------------------------------
------------------------------------------------------------------------
[2002-02-26 23:16:08] brianm@dealnews.com
Sorry, that should have been anything larger than 65535 will cause
this. Try like 80000.
------------------------------------------------------------------------
[2002-02-26 21:49:05] yohgaki@php.net
Try snapshot. http://snaps.php.net/
I don't see the error. If you have problem, please reopen.
------------------------------------------------------------------------
[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