Statement on glibc/iconv Vulnerability

Fiber クラス

(PHP 8 >= 8.1.0)

はじめに

ファイバー(Fiber) は 完全なスタックを持つ、停止可能な関数です。 ファイバー はコールスタック中のどこからでも停止することができますし、 後に再開されるまで実行を停止したままにできます。

クラス概要

final class Fiber {
/* メソッド */
public __construct(callable $callback)
public start(mixed ...$args): mixed
public resume(mixed $value = null): mixed
public throw(Throwable $exception): mixed
public getReturn(): mixed
public isStarted(): bool
public isSuspended(): bool
public isRunning(): bool
public isTerminated(): bool
public static suspend(mixed $value = null): mixed
public static getCurrent(): ?Fiber
}

目次

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top