# ibase_drop_db

(PHP 5, PHP 7)

ibase_drop_db — Drops a database

### 说明

ibase_drop_db ([ resource `$connection` = `NULL` ] ) : bool

This functions drops a database that was opened by either ibase_connect() or ibase_pconnect(). The database is closed and deleted from the server.

### 参数

`connection`

  An InterBase link identifier. If omitted, the last opened link is assumed.

### 返回值

成功时返回 `TRUE`， 或者在失败时返回 `FALSE`。

### 参见

- ibase_connect() - Open a connection to a database
- ibase_pconnect() - Open a persistent connection to an InterBase database