(PECL spl_types >= 0.1.0)
SplType::__construct — Creates a new value of some type
SplType::__construct ([ mixed $initial_value [, bool $strict ]] )
This function is currently not documented; only its argument list is available.
initial_value
Type and default value depends on the extension class.
strict
Whether to set the object's strictness.
Throws an UnexpectedValueException if incompatible type is given.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/spltype.construct.php