在线文档教程
PHP
SPL

SplType (class)

The SplType class

Introduction

(PECL spl_types >= 0.1.0)

Parent class for all SPL types.

Class synopsis

abstract SplType {

/* Constants */

const NULL __default = null ;

/* Methods */

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

}

Predefined Constants

SplType::__default

Table of Contents

  • SplType::__construct — Creates a new value of some type

← Resource Types

SplType::__construct →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/class.spltype.php