略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SplType::__construct

2024-12-27

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.

官方地址:https://www.php.net/manual/en/spltype.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3