| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2003-08-30 05:12 UTC] helly@php.net
  [2003-08-31 20:10 UTC] audwox at jiran dot com
  [2003-09-01 05:01 UTC] helly@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 03:00:01 2025 UTC | 
Description: ------------ Hi. dba_firstkey() return false when cant any key and also null key in data. But I can see some data in data file using db_dump(bdb management utility by sleeycat). When I was use dba_delete() function like below with php 4.3.3, I cant delete record. <? dba_delete(null, $dbid); ?> But When I use dba_delete() function with php 4.3.2, dba_delete() success. Sorry for my english. Thank you. Reproduce code: --------------- <? /* with php 4.3.2 */ $dbid = dba_open("test.db", "w", "db3"); dba_insert(null, null, $dbid); dba_close($dbid); /* now, null data exists into test.db */ /* with php 4.3.3 */ $dbid = dba_open("test.db", "w", "db3"); dba_delete(null, $dbid); dba_close($dbid); /* but still exists null data into test.db. dba_delete() cant delete null data. And now, dba_firstkey() always fail to get first key. dab_firstkey() always return false. But with db_dump utility can see all data. */ ?>