[PHP-DEV] CVS update: php3/doc/functions From: jim (php-dev <email protected>)
Date: 04/28/98

Date: Tuesday April 28, 1998 @ 22:11
Author: jim

Update of /repository/php3/doc/functions
In directory asf:/tmp/cvs-serv2813/doc/functions

Modified Files:
        dbm.sgml
Log Message:
Fix documentation bug for dbminsert().
Fix implementation of dbminsert() for flatfile.

Index: php3/doc/functions/dbm.sgml
diff -c php3/doc/functions/dbm.sgml:1.3 php3/doc/functions/dbm.sgml:1.4
*** php3/doc/functions/dbm.sgml:1.3 Sun Mar 29 15:13:13 1998
--- php3/doc/functions/dbm.sgml Tue Apr 28 22:11:47 1998
***************
*** 100,106 ****
     <refsect1>
      <title>Description</title>
      <funcsynopsis>
! <funcdef>bool <function>dbminsert</function></funcdef>
       <paramdef>int <parameter>dbm_identifier</parameter></paramdef>
       <paramdef>string <parameter>key</parameter></paramdef>
       <paramdef>string <parameter>value</parameter></paramdef>
--- 100,106 ----
     <refsect1>
      <title>Description</title>
      <funcsynopsis>
! <funcdef>int <function>dbminsert</function></funcdef>
       <paramdef>int <parameter>dbm_identifier</parameter></paramdef>
       <paramdef>string <parameter>key</parameter></paramdef>
       <paramdef>string <parameter>value</parameter></paramdef>
***************
*** 108,114 ****
      <para>
       Adds the value to the database with the specified key.
      <para>
! Returns false if the specified key already exists. (To replace
       the value, use <function>dbmreplace</function>.)
     </refsect1>
    </refentry>
--- 108,115 ----
      <para>
       Adds the value to the database with the specified key.
      <para>
! Returns -1 if the database was opened read-only, 0 if the insert
! was successful, and 1 if the specified key already exists. (To replace
       the value, use <function>dbmreplace</function>.)
     </refsect1>
    </refentry>