PHP 4.0 Bug #2416: strange results accessing hashtables
| From: | andre dot landwehr at bertelsmann dot de | Date: | Fri, 01 Oct 1999 08:59:59 +0000 |
| Subject: | PHP 4.0 Bug #2416: strange results accessing hashtables | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11407@lists.php.net to get a copy of this message | ||
From: andre.landwehr@bertelsmann.de
Operating system: linux 2.2.9, glibc 2.1.1, egcs 1.1.2
PHP version: 4.0 Beta 2
PHP Bug Type: Other
Bug description: strange results accessing hashtables
I have a hashtable, keys are of the form "Oct 19 1999 12:00AM", values are a single
character, like "X" or "H". The hashtable is filled with data from a Sybase
database. When I request a value directly after writing it into the hashtable there is no problem.
When I request it later in the script trying to fill a HTML-Table the key of another field of this
hashtable is returned as the value sometimes. I cannot recognize any pattern in this, there are
always about 10% of the fields affected. A reload of the page does not necessarily affect the same
fields in the same way again.
The script worked without problems with PHP3.x