Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<EvLoop::ioEvLoop::now>
^EvLoopLast updated: Mon, 26 Oct 2026

EvLoop::loopFork

(PECL ev >= 0.2.0)

EvLoop::loopFork — Must be called after a fork

Description

public function EvLoop::loopFork(): void

Must be called after a fork in the child, before entering or continuing the event loop. An alternative is to use Ev::FLAG_FORKCHECK which calls this function automatically, at some performance loss (refer to the » libev documentation ).

Parameters

This function has no parameters.

Return Values

No value is returned.


<EvLoop::ioEvLoop::now>
^EvLoopLast updated: Mon, 26 Oct 2026