php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9714 array_walk crashes
Submitted: 2001-03-12 17:35 UTC Modified: 2001-03-13 06:43 UTC
From: Martin dot Sander at touch-screen dot de Assigned:
Status: Closed Package: Arrays related
PHP Version: 4.0.4pl1 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Martin dot Sander at touch-screen dot de
New email:
PHP Version: OS:

 

 [2001-03-12 17:35 UTC] Martin dot Sander at touch-screen dot de
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-13 06:43 UTC] dbeu@php.net
unable to reproduce, please try a dev version from www.php4win.de and reopen if the bug is still existant.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 19:01:28 2024 UTC