ID: 11389
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Arrays related
Operating System: W98
PHP Version: 4.0.6
New Comment:

Reproduced with 4.2.0-dev (200111080300) on Windows 2000.

Array_walk seems to be pretty buggy. There were a few reports of crashes using 
array_walk, most importantly #12776.

Reopening.

Previous Comments:
------------------------------------------------------------------------

[2001-10-21 01:44:42] [EMAIL PROTECTED]

I can not reproduce this with PHP 4.1.0RC1.
Could you please try the latest development build from
http://www.php4win.com/


------------------------------------------------------------------------

[2001-06-23 17:31:08] [EMAIL PROTECTED]

Reproduced with 4.0.7-dev (latest CVS, Win32)

------------------------------------------------------------------------

[2001-06-23 17:29:51] [EMAIL PROTECTED]

Reproduced with PHP 4.0.6


------------------------------------------------------------------------

[2001-06-10 20:32:59] [EMAIL PROTECTED]

I have installed PHP 4.0.5. The same problem ocurrs.
sive.

------------------------------------------------------------------------

[2001-06-10 19:58:51] [EMAIL PROTECTED]

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

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=11389&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to