downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SplInt> <SplType
[edit] Last updated: Fri, 11 Jan 2013

view this page in

SplType::__construct

(PECL spl_types >= 0.1.0)

SplType::__constructCreates a new value of some type

Description

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

Warning

This function is currently not documented; only its argument list is available.

Parameters

initial_value

Type and default value depends on the extension class.

strict

Whether to set the object's sctrictness.

Errors/Exceptions

Throws an UnexpectedValueException if incompatible type is given.



add a note add a note User Contributed Notes SplType::__construct - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites