phpday 2027 - Call for Papers

The Swoole\Runtime class

(No version information available, might only be in Git)

はじめに

Swoole\Runtime provides coroutine support for various PHP functions through hook mechanism, allowing synchronous code to work asynchronously in coroutine environment.

クラス概要

class Swoole\Runtime {
/* メソッド */
public static function enableCoroutine(int $flags = SWOOLE_HOOK_ALL): void
public static function getHookFlags(): int
public static function setHookFlags(int $flags): bool
}

目次

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top