编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « ReflectionProperty::__toString
  • ReflectionType::allowsNull »
  • PHP Manual
  • 反射
  • The ReflectionType class

The ReflectionType class

(PHP 7)

简介

ReflectionType 类用于获取函数、类方法的参数或者返回值的类型。

类摘要

ReflectionType {
/* 方法 */
public allowsNull ( void ) : bool
public isBuiltin ( void ) : bool
public __toString ( void ) : string
}

Table of Contents

  • ReflectionType::allowsNull — Checks if null is allowed
  • ReflectionType::isBuiltin — Checks if it is a built-in type
  • ReflectionType::__toString — To string
相关文章
php 变量与类型相关扩展 反射php cairo the cairofillrule classphp cairo the cairooperator classphp cairo the cairosvgversion classphp dom the domnode classphp data structures the stack classphp event the eventhttprequest classphp gmagick the gmagick classphp imagemagick the imagick classphp 异常 the invalidargumentexception classphp 迭代器 the limititerator classphp exceptions the mongocursorexception classphp mongodb bson the mongodb bson objectid classphp mongodb driver the mongodb driver cursor classphp mongodb driver monitoring the mongodb driver monitoring commandstartedevent classphp exceptions the mongoexecutiontimeoutexception classphp exceptions the mongowriteconcernexception classphp mysql xdevapi driver classphp 反射 the reflectionclassconstant classphp 反射 the reflectiontype class
关注编程学问公众号
编程学问网 湘ICP备20001732号