dba_popen Open database persistently php函数


(PHP 4, PHP 5)

dba_popenOpen database persistently


resource dba_popen ( string $path , string $mode [, string $handler [, mixed $... ]] )

dba_popen() establishes a persistent database instance for path with mode using handler.



Commonly a regular path in your filesystem.


It is r for read access, w for read/write access to an already existing database, c for read/write access and database creation if it doesn't currently exist, and n for create, truncate and read/write access.


The name of the handler which shall be used for accessing path. It is passed all optional parameters given to dba_popen() and can act on behalf of them.


Returns a positive handle on success 或者在失败时返回 FALSE.


  • dba_open() - Open database
  • dba_close() - Close a DBA database

dba_replace Replace or 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

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