©
This document uses PHP Chinese website manual Release
(PECL spl_types >= 0.1.0)
SplType::__construct — Creates a new value of some type
$initial_value
[, bool $strict
]] )
本函数还未编写文档,仅有参数列表。
initial_value
Type and default value depends on the extension class.
strict
Whether to set the object's sctrictness.
Throws an UnexpectedValueException if incompatible type is given.