SplType::__construct
(PECL spl_types >= 0.1.0)
SplType::__construct — Creates a new value of some type
Beschreibung
Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Parameter-Liste
-
initial_value -
Type and default value depends on the extension class.
-
strict -
Whether to set the object's sctrictness.
Fehler/Exceptions
Throws an UnexpectedValueException if incompatible type is given.