event_base_loop
event_base_loopexit
Libevent 関数
PHP Manual

# event_base_loopbreak

(PECL libevent >= 0.0.1)

event_base_loopbreak — Abort event loop

### 説明

bool event_base_loopbreak ( resource `$event_base` )

Abort the active event loop immediately. The behaviour is similar to break statement.

### パラメータ

`event_base`

  Valid event base resource.

### 返り値

event_base_loopbreak() returns `TRUE` on success or `FALSE` on error.

event_base_loop
event_base_loopexit
Libevent 関数
PHP Manual