Bug #11389 Updated: array_walk causes Apache to crash
| From: | sniper@php.net | Date: | Sat, 23 Jun 2001 21:29:51 +0000 |
| Subject: | Bug #11389 Updated: array_walk causes Apache to crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57787@lists.php.net to get a copy of this message | ||
ID: 11389
Updated by: sniper
Reported By: sivev@hotmail.com
Old-Status: Open
Status: Analyzed
Bug Type: Arrays related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
Reproduced with PHP 4.0.6
Previous Comments:
---------------------------------------------------------------------------
[2001-06-10 20:32:59] sivev@hotmail.com
I have installed PHP 4.0.5. The same problem ocurrs.
sive.
---------------------------------------------------------------------------
[2001-06-10 19:58:51] sivev@hotmail.com
First, sorry, i have a very bad English.
This script:
$myarr = array(array(1,2,3), array(1,2,3), array(1,2,3));
array_walk(&$myarr, "myfunc");
function myfunc(&$value, $key) {
global $myarr;
$myarr=null;
}
causes Apache to crash. I'm using Apache 1.3.19 and PHP 4.0.4pl1 under W98.
Is a stupid script, but it's not the real script. Is the shorter script that reproduces the
problem that i can send you.
thanks,
sive
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11389&edit=2