SplType::__construct

(PECL spl_types >= 0.1.0)

SplType::__constructCreates a new value of some type

설명

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

Warning

이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.

인수

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.

add a note add a note

User Contributed Notes

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