略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: parallel\Runtime::__construct

2025-02-27

parallel\Runtime::__construct

(0.8.0)

parallel\Runtime::__constructRuntime Construction

说明

public parallel\Runtime::__construct()

Shall construct a new runtime without bootstrapping.

public parallel\Runtime::__construct(string $bootstrap)

Shall construct a bootstrapped runtime.

参数

bootstrap

The location of a bootstrap file, generally an autoloader.

Exceptions

警告

Shall throw parallel\Runtime\Error if thread could not be created

警告

Shall throw parallel\Runtime\Bootstrap if bootstrapping failed

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/parallel-runtime.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3