# ibase_free_event_handler

(PHP 5, PHP 7)

ibase_free_event_handler — Cancels a registered event handler

### 说明

ibase_free_event_handler ( resource `$event` ) : bool

This function causes the registered event handler specified by `event` to be cancelled. The callback function will no longer be called for the events it was registered to handle.

### 参数

`event`

  An event resource, created by ibase_set_event_handler().

### 返回值

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

### 参见

- ibase_set_event_handler() - Register a callback function to be called when events are posted