Home > PHP > Function > DBA > dba_sync()

dba_sync()

dba_sync - Synchronize database

Syntax

bool dba_sync (resource $handle)

Arguments

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

Description

dba_sync() synchronizes the database. This will probably trigger a physical write to the disk, if supported.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.