|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-25 09:01 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 13:00:01 2025 UTC |
The dbminsert and dbmreplace functions insert erroneous values into the database. Here is a short script that should identify the problem: <?php $dbm = dbmopen("test.db", "n"); for ($c=0; $c < 100; $c++) { dbminsert($dbm, $c, $c); } for ($c=0; $c < 100; $c++) { echo(dbmfetch($dbm, $c) . "<br>"); } dbmclose ($dbm); ?> This is what I get for the first 11 lines of output: 1 1 1 1 1 1 1 1 1 2 10 The remaining output is correct. I am using the precompiled win32 binary with iPlanet on NT. If you could send any replies to this email address as well as the other one listed I would appreciate it: Patrick.Johnson@usdoj.gov