SplType::__construct
(PECL spl_types >= 0.1.0)
SplType::__construct — Creates a new value of some type
Descrierea
Avertizare
Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.
Parametri
-
initial_value -
Type and default value depends on the extension class.
-
strict -
Whether to set the object's sctrictness.
Erori/Excepții
Throws an UnexpectedValueException if incompatible type is given.
There are no user contributed notes for this page.
