php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2373 2 dimensional arrays show wrong values
Submitted: 1999-09-24 05:19 UTC Modified: 2000-03-10 12:37 UTC
From: tbehn at nextlevel dot de Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 2 OS: SunOS fiete 5.5.1 Generic_103640
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tbehn at nextlevel dot de
New email:
PHP Version: OS:

 

 [1999-09-24 05:19 UTC] tbehn at nextlevel dot de
Hello,

when I define a two dimensional array with something like

for .... {
$row1 = sybase_fetch_row($result);
$datum = $row1[1];
$row_w[$datum][1] = $row1[1];
$row_w[$datum][2] = $row1[2];
$row_w[$datum][3] = $row1[3];
$row_w[$datum][4] = $row1[4];
$row_w[$datum][5] = $row1[5];
$row_w[$datum][6] = $row1[6];
}

sometimes (not everytime) for example $row_w[$datum][2] as the value "array" insted of the actual value. Sometimes the array values are copied instead of containing the correct value.

This worked fine under php3.

Regards
Torsten

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-10 12:37 UTC] andi at cvs dot php dot net
This problem shoudl be fixed. If it isn't please open a new bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC