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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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 14:01:32 2024 UTC