The ReflectionType class

Introduction

(PHP 7)

The ReflectionType class reports information about a function's return type.

Class synopsis

ReflectionType {
/* Methods */
public allowsNull ( ) : bool
public isBuiltin ( ) : bool
public __toString ( ) : string
}

Table of Contents

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.reflectiontype.php