dba_replace Replace or insert entry php函数


dba_replace

(PHP 4, PHP 5)

dba_replaceReplace or insert entry

说明

bool dba_replace ( string $key , string $value , resource $handle )

dba_replace() replaces or inserts the entry described with key and value into the database specified by handle.

参数

key

The key of the entry to be replaced.

value

The value to be replaced.

handle

The database handler, returned by dba_open() or dba_popen().

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.

参见

  • dba_exists() - Check whether key exists
  • dba_delete() - Delete DBA entry specified by key
  • dba_fetch() - Fetch data specified by key
  • dba_insert() - Insert entry



相关阅读:
dba_sync Synchronize database
dcgettext Overrides the domain for a single lookup
dcngettext Plural version of dcgettext
deaggregate Removes the aggregated methods and properties from an object
debug_backtrace Generates a backtrace
debug_print_backtrace Prints a backtrace
debug_zval_dump Dumps a string representation of an internal zend value to output
decbin 十进制转换为二进制
dechex 十进制转换为十六进制
decoct 十进制转换为八进制
define Defines a named constant
defined Checks whether a given named constant exists
define_syslog_variables Initializes all syslog related variables
deg2rad 将角度转换为弧度
快速导航

Copyright © 2016 phpStudy | 皖ICP备18014864号-4