php8.5
Home/ Manual/ parallel / sync/ parallel\Sync::__construct

parallel\Sync::__construct

PHP function Edit on GitHub ✎

(1.1.0)

Construction

Description

parallel\Sync::__construct()

Shall construct a new synchronization object with no value

parallel\Sync::__construct(scalar $value)

Shall construct a new synchronization object containing the given scalar value

Exceptions

Warning

Shall throw parallel\Sync\Error\IllegalValue if value is non-scalar.

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