Variable FIBER_SHIM_PHPConst
FIBER_SHIM_PHP: "\nclass PhpWasmSyncFiber\n{\n\t/** @var callable */\n\tprivate $callable;\n\t/** @var mixed */\n\tprivate $result = null;\n\tprivate bool $started = false;\n\t/**\n\t * answers suspend() inline while a rewritten driver loop is running (canvas); null otherwise\n\t *\n\t * @var callable|null\n\t */\n\tpublic static $handler = null;\n\tpublic function __construct(callable $callable)\n\t{\n\t\t$this->callable = $callable;\n\t}\n\t/** @param mixed ...$args */\n\tpublic function start(...$args)\n\t{\n\t\t$this->started = true;\n\t\t$this->result = ($this->callable)(...$args);\n\t\treturn null;\n\t}\n\tpublic function isStarted(): bool\n\t{\n\t\treturn $this->started;\n\t}\n\tpublic function isSuspended(): bool\n\t{\n\t\treturn false;\n\t}\n\tpublic function isRunning(): bool\n\t{\n\t\treturn false;\n\t}\n\tpublic function isTerminated(): bool\n\t{\n\t\treturn $this->started;\n\t}\n\t/** @param mixed $value */\n\tpublic function resume($value = null)\n\t{\n\t\treturn null;\n\t}\n\tpublic function throw(Throwable $e)\n\t{\n\t\tthrow $e;\n\t}\n\t/** @return mixed */\n\tpublic function getReturn()\n\t{\n\t\treturn $this->result;\n\t}\n\tpublic static function getCurrent(): ?object\n\t{\n\t\treturn self::$handler === null ? null : new self(fn() => null);\n\t}\n\t/** @param mixed $value */\n\tpublic static function suspend($value = null)\n\t{\n\t\treturn self::$handler === null ? null : (self::$handler)($value);\n\t}\n}\n"