编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 mysql xdevapi docresult classphp mysql xdevapi tabledelete classphp intl the numberformatter classphp parallel the parallel runtime classphp phar the pharexception classphp 异常 the rangeexception classphp 反射 the reflectionclassconstant classphp 反射 reflectionexception 类php 反射 the reflectiontype classphp rrd the rrdupdater classphp soap the soapvar classphp solr the solrpingresponse classphp spl types the splint classphp stomp the stomp classphp ming the swfprebuiltclip classphp swoole the swoole exception classphp swoole the swoole websocket server classphp wkhtmltox the wkhtmltox pdf object classphp yaf the yaf request simple classphp yar the yar server exception class
关注编程学问公众号
编程学问网 湘ICP备20001732号