php / 8.1.5 / function.dba-sync.html /

dba_sync

(PHP 4, PHP 5, PHP 7, PHP 8)

dba_syncSynchronize database

Description

dba_sync(resource $dba): bool

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

Parameters

dba

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

Return Values

Returns true on success or false on failure.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.dba-sync.php