编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 cairo the cairocontext classphp cairo the cairolinecap classphp cairo the cairosurfacepattern classphp 日期/时间 the datetimeimmutable classphp dom the domexception classphp data structures the queue classphp event the eventdnsbase classphp ev the evwatcher classphp gender the gender gender classphp hrtime the hrtime performancecounter classphp intl the intlpartsiterator classphp lapack the lapackexception classphp 核心类 the mongocommandcursor classphp mongodb driver exception the mongodb driver exception writeexception classphp mysql xdevapi statement classphp 迭代器 the norewinditerator classphp 反射 the reflectionclassconstant classphp 反射 the reflectiontype classphp 反射 简介php splfileinfo sets the class used with splfileinfo getfileinfo and splfileinfo getpathinfo
关注编程学问公众号
编程学问网 湘ICP备20001732号