php8.5
Home/ Manual/ parallel / functions/ parallel\bootstrap

parallel\bootstrap

PHP function Edit on GitHub ✎

(1.0.0)

Bootstrapping

Description

parallel\bootstrap(string $file): void

Shall use the provided file to bootstrap all runtimes created for automatic scheduling via parallel\run().

Parameters

file

Path to the file to bootstrap all runtimes.

Return Values

Void

Errors/Exceptions

Warning

Shall throw parallel\Runtime\Error\Bootstrap if previously called for this process.

Warning

Shall throw parallel\Runtime\Error\Bootstrap if called after parallel\run().

See Also

Source: reference/parallel/functions/parallel.bootstrap.xml · from the official PHP manual (php/doc-en)