event_base_loopbreak

(PECL libevent >= 0.0.1)

event_base_loopbreakAbort event loop

Descrierea

event_base_loopbreak ( resource $event_base ) : bool

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

Parametri

event_base

Valid event base resource.

Valorile întoarse

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