PHP 4.0 Bug #9714: array_walk crashes
| From: | Martin dot Sander at touch-screen dot de | Date: | Mon, 12 Mar 2001 22:35:54 +0000 |
| Subject: | PHP 4.0 Bug #9714: array_walk crashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48774@lists.php.net to get a copy of this message | ||
From: Martin.Sander@touch-screen.de
Operating system: Windows
PHP version: 4.0.4pl1
PHP Bug Type: Arrays related
Bug description: array_walk crashes
this example:
$t[Line][4][21] = 14;
$t[Line][1][1] = 1;
$t[Line][2][12] = 12;
$t[Line][1][3] = 3;
$t[Line][3][20] = 13;
ksort($t[Line]);
array_walk($t[Line],asort);
crashes on Windows (2k) with php.exe and php4apache.dll,
not on Linux.
I know, the function should have 2-3 arguments, but it shouldn't crash.
--
Edit Bug report at: http://bugs.php.net/?id=9714&edit=1