SplType::__construct

(PECL spl_types >= 0.1.0)

SplType::__constructCreates a new value of some type

Açıklama

SplType::__construct ([ mixed $initial_value [, bool $strict ]] )

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.

Değiştirgeler

initial_value

Type and default value depends on the extension class.

strict

Whether to set the object's strictness.

Hatalar/İstisnalar

Throws an UnexpectedValueException if incompatible type is given.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top