在线文档教程
PHP
处理控制 | Process Control

Ev::stop

Ev::stop

(PECL ev >= 0.2.0)

Ev::stop — Stops the default event loop

Description

final public static void Ev::stop ([ int $how ] )

Stops the default event loop

Parameters

how

One of Ev::BREAK_* constants .

Return Values

No value is returned.

See Also

  • Ev::run() - Begin checking for events and calling callbacks for the default loop

← Ev::sleep

Ev::supportedBackends →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/ev.stop.php