php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45378 Returning weird overwritten data in array
Submitted: 2008-06-27 15:33 UTC Modified: 2008-07-11 15:50 UTC
From: pwd_manager at hotmail dot com Assigned:
Status: Not a bug Package: Arrays related
PHP Version: 5.2.6 OS: Linux
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: pwd_manager at hotmail dot com
New email:
PHP Version: OS:

 

 [2008-06-27 15:33 UTC] pwd_manager at hotmail dot com
Description:
------------
Php throwing weird data into an array.

Reproduce code:
---------------
The code is too large to post here.  Since I currently do not have a hosting server and I am working on a clients website, I have no way of hosting the code.  You can email me (pwd_manager@hotmail.com) and I can email you the test code.

Expected result:
----------------
The following code is supposed to loop through the massive array set the object type for each field.  If you look at the original array, you will notice that all the types are clearly defined.  There is no weird type called "Ant".  However, if you look at the bottom of the test code, somewhere, the code returns a weird type of "Ant".  There is no where that this information should be cropping up in the code.  After hours of exhaustive debugging, I have learned that the error is reproduce-able on multiple OS's, that it seems to occur in the same place in this massive array of arrays, and that I am pretty sure it isn't a bug in my code.

Actual result:
--------------
See expected results.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-11 15:50 UTC] jani@php.net
When you can provide a proper reproducing script, come back and report it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 21:01:32 2024 UTC